Scippy

SCIP

Solving Constraint Integer Programs

struct_disp.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-2018 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_disp.h
17  * @ingroup INTERNALAPI
18  * @brief data structures for displaying runtime statistics
19  * @author Tobias Achterberg
20  */
21 
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23 
24 #ifndef __SCIP_STRUCT_DISP_H__
25 #define __SCIP_STRUCT_DISP_H__
26 
27 
28 #include "scip/def.h"
29 #include "scip/type_disp.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /** display column */
36 struct SCIP_Disp
37 {
38  char* name; /**< name of display column */
39  char* desc; /**< description of display column */
40  char* header; /**< head line of display column */
41  SCIP_DECL_DISPCOPY ((*dispcopy)); /**< copy method of display column or NULL if you don't want to copy your plugin into sub-SCIPs */
42  SCIP_DECL_DISPFREE ((*dispfree)); /**< destructor of display column */
43  SCIP_DECL_DISPINIT ((*dispinit)); /**< initialize display column */
44  SCIP_DECL_DISPEXIT ((*dispexit)); /**< deinitialize display column */
45  SCIP_DECL_DISPINITSOL ((*dispinitsol)); /**< solving process initialization method of display column */
46  SCIP_DECL_DISPEXITSOL ((*dispexitsol)); /**< solving process deinitialization method of display column */
47  SCIP_DECL_DISPOUTPUT ((*dispoutput)); /**< output method */
48  SCIP_DISPDATA* dispdata; /**< display column data */
49  int width; /**< width of display column (no. of chars used) */
50  int priority; /**< priority of display column */
51  int position; /**< relative position of display column */
52  SCIP_DISPSTATUS dispstatus; /**< display activation status of display column */
53  SCIP_Bool stripline; /**< should the column be separated with a line from its right neighbor? */
54  SCIP_Bool initialized; /**< is display column initialized? */
55  SCIP_Bool active; /**< should column be displayed to the screen? */
56  SCIP_DISPMODE mode; /**< mode in which the display column is activated */
57 };
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 #endif
char * name
Definition: struct_disp.h:38
SCIP_DECL_DISPINITSOL((*dispinitsol))
SCIP_Bool initialized
Definition: struct_disp.h:54
struct SCIP_DispData SCIP_DISPDATA
Definition: type_disp.h:62
SCIP_DECL_DISPEXIT((*dispexit))
char * header
Definition: struct_disp.h:40
enum SCIP_DispMode SCIP_DISPMODE
Definition: type_disp.h:59
int position
Definition: struct_disp.h:51
char * desc
Definition: struct_disp.h:39
SCIP_DISPMODE mode
Definition: struct_disp.h:56
int priority
Definition: struct_disp.h:50
SCIP_Bool active
Definition: struct_disp.h:55
#define SCIP_Bool
Definition: def.h:62
SCIP_DECL_DISPFREE((*dispfree))
SCIP_Bool stripline
Definition: struct_disp.h:53
SCIP_DISPDATA * dispdata
Definition: struct_disp.h:48
SCIP_DECL_DISPOUTPUT((*dispoutput))
SCIP_DECL_DISPEXITSOL((*dispexitsol))
SCIP_DECL_DISPINIT((*dispinit))
SCIP_DISPSTATUS dispstatus
Definition: struct_disp.h:52
enum SCIP_DispStatus SCIP_DISPSTATUS
Definition: type_disp.h:50
SCIP_DECL_DISPCOPY((*dispcopy))
common defines and data types used in all packages of SCIP
type definitions for displaying runtime statistics