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