Scippy

SCIP

Solving Constraint Integer Programs

struct_table.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the program and library */
4 /* SCIP --- Solving Constraint Integer Programs */
5 /* */
6 /* Copyright (C) 2002-2019 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SCIP is distributed under the terms of the ZIB Academic License. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SCIP; see the file COPYING. If not visit scip.zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file struct_table.h
17  * @ingroup INTERNALAPI
18  * @brief data structures for displaying statistics tables
19  * @author Tristan Gally
20  */
21 
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23 
24 #ifndef __SCIP_STRUCT_TABLE_H__
25 #define __SCIP_STRUCT_TABLE_H__
26 
27 
28 #include "scip/def.h"
29 #include "scip/type_table.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /** statistics table */
36 struct SCIP_Table
37 {
38  char* name; /**< name of statistics table */
39  char* desc; /**< description of statistics table */
40  SCIP_DECL_TABLECOPY ((*tablecopy)); /**< copy method of statistics table or NULL if you don't want to copy your plugin into sub-SCIPs */
41  SCIP_DECL_TABLEFREE ((*tablefree)); /**< destructor of statistics table */
42  SCIP_DECL_TABLEINIT ((*tableinit)); /**< initialize statistics table */
43  SCIP_DECL_TABLEEXIT ((*tableexit)); /**< deinitialize statistics table */
44  SCIP_DECL_TABLEINITSOL ((*tableinitsol)); /**< solving process initialization method of statistics table */
45  SCIP_DECL_TABLEEXITSOL ((*tableexitsol)); /**< solving process deinitialization method of statistics table */
46  SCIP_DECL_TABLEOUTPUT ((*tableoutput)); /**< output method */
47  SCIP_TABLEDATA* tabledata; /**< statistics table data */
48  int position; /**< relative position of statistics table */
49  SCIP_STAGE earlieststage; /**< output of the statistics table is only printed from this stage onwards */
50  SCIP_Bool initialized; /**< is statistics table initialized? */
51  SCIP_Bool active; /**< should statistics table be displayed to the screen? */
52 };
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif
char * name
Definition: struct_table.h:38
SCIP_Bool active
Definition: struct_table.h:51
SCIP_TABLEDATA * tabledata
Definition: struct_table.h:47
SCIP_DECL_TABLEOUTPUT((*tableoutput))
SCIP_DECL_TABLEINIT((*tableinit))
SCIP_STAGE earlieststage
Definition: struct_table.h:49
SCIP_DECL_TABLEINITSOL((*tableinitsol))
SCIP_DECL_TABLEEXITSOL((*tableexitsol))
char * desc
Definition: struct_table.h:39
SCIP_DECL_TABLEEXIT((*tableexit))
SCIP_DECL_TABLEFREE((*tablefree))
#define SCIP_Bool
Definition: def.h:70
enum SCIP_Stage SCIP_STAGE
Definition: type_set.h:50
SCIP_Bool initialized
Definition: struct_table.h:50
SCIP_DECL_TABLECOPY((*tablecopy))
common defines and data types used in all packages of SCIP
type definitions for displaying statistics tables
struct SCIP_TableData SCIP_TABLEDATA
Definition: type_table.h:44