Scippy

SCIP

Solving Constraint Integer Programs

struct_visual.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-2017 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_visual.h
17  * @ingroup INTERNALAPI
18  * @brief data structures for output for visualization tools (VBC, BAK)
19  * @author Tobias Achterberg
20  * @author Marc Pfetsch
21  * @author Gregor Hendel
22  */
23 
24 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
25 
26 #ifndef __SCIP_STRUCT_VISUAL_H__
27 #define __SCIP_STRUCT_VISUAL_H__
28 
29 #include <stdio.h>
30 
31 #include "scip/def.h"
32 #include "scip/type_visual.h"
33 #include "scip/type_misc.h"
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 /** visual data structure */
41 {
42  FILE* vbcfile; /**< file to store VBC information */
43  FILE* bakfile; /**< file to store BAK information */
44  SCIP_MESSAGEHDLR* messagehdlr; /**< message handler to use */
45  SCIP_HASHMAP* nodenum; /**< hash map for mapping nodes to node numbers */
46  SCIP_Longint timestep; /**< time step counter for non real time output */
47  SCIP_NODE* lastnode; /**< last node that was colored */
48  SCIP_VBCCOLOR lastcolor; /**< last color that was used */
49  SCIP_Bool userealtime; /**< should the real solving time be used instead of a time step counter? */
50 };
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif
enum SCIP_VBCColor SCIP_VBCCOLOR
Definition: type_visual.h:64
type definitions for miscellaneous datastructures
FILE * vbcfile
Definition: struct_visual.h:42
type definitions for output for visualization tools (VBC, BAK)
SCIP_VBCCOLOR lastcolor
Definition: struct_visual.h:48
SCIP_HASHMAP * nodenum
Definition: struct_visual.h:45
SCIP_NODE * lastnode
Definition: struct_visual.h:47
FILE * bakfile
Definition: struct_visual.h:43
#define SCIP_Bool
Definition: def.h:61
SCIP_Bool userealtime
Definition: struct_visual.h:49
SCIP_Longint timestep
Definition: struct_visual.h:46
SCIP_MESSAGEHDLR * messagehdlr
Definition: struct_visual.h:44
#define SCIP_Longint
Definition: def.h:120
common defines and data types used in all packages of SCIP