C++ wrapper for statistics tables.
This class defines the interface for statistics tables implemented in C++. Note that there is a pure virtual function (this function has to be implemented). This function is: scip_output().
Definition at line 43 of file objtable.h.
#include <objtable.h>
Public Member Functions | |
ObjTable (SCIP *scip, const char *name, const char *desc, int position, SCIP_STAGE earlieststage) | |
virtual | ~ObjTable () |
virtual | SCIP_DECL_TABLEFREE (scip_free) |
virtual | SCIP_DECL_TABLEINIT (scip_init) |
virtual | SCIP_DECL_TABLEEXIT (scip_exit) |
virtual | SCIP_DECL_TABLEINITSOL (scip_initsol) |
virtual | SCIP_DECL_TABLEEXITSOL (scip_exitsol) |
virtual | SCIP_DECL_TABLEOUTPUT (scip_output)=0 |
Public Member Functions inherited from scip::ObjCloneable | |
virtual | ~ObjCloneable () |
virtual | SCIP_DECL_OBJCLONEABLECLONE (ObjCloneable *clone) |
virtual | SCIP_DECL_OBJCLONEABLEISCLONEABLE (iscloneable) |
Data Fields | |
SCIP * | scip_ |
char * | scip_name_ |
char * | scip_desc_ |
const int | scip_position_ |
SCIP_STAGE | scip_earlieststage_ |
|
inline |
default constructor
scip | SCIP data structure |
name | name of statistics table |
desc | description of statistics table |
position | position of statistics table |
earlieststage | output of the statistics table is only printed from this stage onwards |
Definition at line 64 of file objtable.h.
References SCIP_CALL_ABORT, and SCIPduplicateMemoryArray.
|
inlinevirtual |
|
inlinevirtual |
destructor of statistics table to free user data (called when SCIP is exiting)
Definition at line 95 of file objtable.h.
References SCIP_OKAY.
|
inlinevirtual |
initialization method of statistics table (called after problem was transformed)
Definition at line 104 of file objtable.h.
References SCIP_OKAY.
|
inlinevirtual |
deinitialization method of statistics table (called before transformed problem is freed)
Definition at line 113 of file objtable.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process initialization method of statistics table (called when branch and bound process is about to begin)
Definition at line 122 of file objtable.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process deinitialization method of statistics table (called before branch and bound process data is freed)
Definition at line 131 of file objtable.h.
References SCIP_Bool, SCIP_DECL_TABLEOUTPUT(), SCIP_OKAY, SCIPfindObjTable(), SCIPgetObjTable(), and SCIPincludeObjTable().
|
pure virtual |
output method of statistics table to output file stream 'file'
Referenced by SCIP_DECL_TABLEEXITSOL().
SCIP* scip::ObjTable::scip_ |
SCIP data structure
Definition at line 49 of file objtable.h.
char* scip::ObjTable::scip_name_ |
name of the statistics tables
Definition at line 52 of file objtable.h.
Referenced by SCIPincludeObjTable().
char* scip::ObjTable::scip_desc_ |
description of the statistics table
Definition at line 55 of file objtable.h.
Referenced by SCIPincludeObjTable().
const int scip::ObjTable::scip_position_ |
position of the statistics table
Definition at line 58 of file objtable.h.
Referenced by SCIPincludeObjTable().
SCIP_STAGE scip::ObjTable::scip_earlieststage_ |
output of the statistics table is only printed from this stage onwards
Definition at line 61 of file objtable.h.
Referenced by SCIPincludeObjTable().