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