Scippy

SCIP

Solving Constraint Integer Programs

pub_nodesel.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-2014 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 pub_nodesel.h
17  * @ingroup PUBLICMETHODS
18  * @brief public methods for node selectors
19  * @author Tobias Achterberg
20  */
21 
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23 
24 #ifndef __SCIP_PUB_NODESEL_H__
25 #define __SCIP_PUB_NODESEL_H__
26 
27 
28 #include "scip/def.h"
29 #include "scip/type_nodesel.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /** gets name of node selector */
36 extern
37 const char* SCIPnodeselGetName(
38  SCIP_NODESEL* nodesel /**< node selector */
39  );
40 
41 /** gets description of node selector */
42 extern
43 const char* SCIPnodeselGetDesc(
44  SCIP_NODESEL* nodesel /**< node selector */
45  );
46 
47 /** gets priority of node selector in standard mode */
48 extern
50  SCIP_NODESEL* nodesel /**< node selector */
51  );
52 
53 /** gets priority of node selector in memory saving mode */
54 extern
56  SCIP_NODESEL* nodesel /**< node selector */
57  );
58 
59 /** gets user data of node selector */
60 extern
62  SCIP_NODESEL* nodesel /**< node selector */
63  );
64 
65 /** sets user data of node selector; user has to free old data in advance! */
66 extern
68  SCIP_NODESEL* nodesel, /**< node selector */
69  SCIP_NODESELDATA* nodeseldata /**< new node selector user data */
70  );
71 
72 /** is node selector initialized? */
73 extern
75  SCIP_NODESEL* nodesel /**< node selector */
76  );
77 
78 /** gets time in seconds used in this node selector for setting up for next stages */
79 extern
81  SCIP_NODESEL* nodesel /**< node selector */
82  );
83 
84 /** gets time in seconds used in this node selector */
85 extern
87  SCIP_NODESEL* nodesel /**< node selector */
88  );
89 
90 #ifdef __cplusplus
91 }
92 #endif
93 
94 #endif
int SCIPnodeselGetMemsavePriority(SCIP_NODESEL *nodesel)
struct SCIP_Nodesel SCIP_NODESEL
Definition: type_nodesel.h:37
SCIP_Real SCIPnodeselGetTime(SCIP_NODESEL *nodesel)
const char * SCIPnodeselGetDesc(SCIP_NODESEL *nodesel)
struct SCIP_NodeselData SCIP_NODESELDATA
Definition: type_nodesel.h:38
SCIP_Bool SCIPnodeselIsInitialized(SCIP_NODESEL *nodesel)
SCIP_Real SCIPnodeselGetSetupTime(SCIP_NODESEL *nodesel)
SCIP_NODESELDATA * SCIPnodeselGetData(SCIP_NODESEL *nodesel)
#define SCIP_Bool
Definition: def.h:49
const char * SCIPnodeselGetName(SCIP_NODESEL *nodesel)
void SCIPnodeselSetData(SCIP_NODESEL *nodesel, SCIP_NODESELDATA *nodeseldata)
int SCIPnodeselGetStdPriority(SCIP_NODESEL *nodesel)
#define SCIP_Real
Definition: def.h:123
common defines and data types used in all packages of SCIP
type definitions for node selectors