Detailed Description
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().
- Instructions for implementing a statistics table
- List of available statistics tables
- Corresponding C interface
Definition at line 53 of file objtable.h.
C++ wrapper for statistics tables. More...
#include <objtable.h>
Public Member Functions | |
ObjTable (SCIP *scip, const char *name, const char *desc, int position, SCIP_STAGE earlieststage) | |
ObjTable (const ObjTable &o) | |
ObjTable (ObjTable &&o) | |
virtual | ~ObjTable () |
ObjTable & | operator= (const ObjTable &o)=delete |
ObjTable & | operator= (ObjTable &&o)=delete |
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 () |
ObjCloneable & | operator= (const ObjCloneable &o)=delete |
ObjCloneable & | operator= (ObjCloneable &&o)=delete |
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_ |
Constructor & Destructor Documentation
◆ ObjTable() [1/3]
|
inline |
default constructor
- Parameters
-
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 74 of file objtable.h.
References SCIP_CALL_ABORT, and SCIPduplicateMemoryArray.
◆ ObjTable() [2/3]
|
inline |
copy constructor
Definition at line 93 of file objtable.h.
◆ ObjTable() [3/3]
|
inline |
move constructor
Definition at line 98 of file objtable.h.
◆ ~ObjTable()
|
inlinevirtual |
destructor
Definition at line 110 of file objtable.h.
References operator=(), and SCIPfreeMemoryArray.
Member Function Documentation
◆ operator=() [1/2]
assignment of polymorphic classes causes slicing and is therefore disabled.
Referenced by ~ObjTable().
◆ operator=() [2/2]
assignment of polymorphic classes causes slicing and is therefore disabled.
◆ SCIP_DECL_TABLEFREE()
|
inlinevirtual |
destructor of statistics table to free user data (called when SCIP is exiting)
- See also
- SCIP_DECL_TABLEFREE(x) in type_disp.h
Definition at line 128 of file objtable.h.
References SCIP_OKAY.
◆ SCIP_DECL_TABLEINIT()
|
inlinevirtual |
initialization method of statistics table (called after problem was transformed)
- See also
- SCIP_DECL_TABLEINIT(x) in type_table.h
Definition at line 137 of file objtable.h.
References SCIP_OKAY.
◆ SCIP_DECL_TABLEEXIT()
|
inlinevirtual |
deinitialization method of statistics table (called before transformed problem is freed)
- See also
- SCIP_DECL_TABLEEXIT(x) in type_table.h
Definition at line 146 of file objtable.h.
References SCIP_OKAY.
◆ SCIP_DECL_TABLEINITSOL()
|
inlinevirtual |
solving process initialization method of statistics table (called when branch and bound process is about to begin)
- See also
- SCIP_DECL_TABLEINITSOL(x) in type_table.h
Definition at line 155 of file objtable.h.
References SCIP_OKAY.
◆ SCIP_DECL_TABLEEXITSOL()
|
inlinevirtual |
solving process deinitialization method of statistics table (called before branch and bound process data is freed)
- See also
- SCIP_DECL_TABLEEXITSOL(x) in type_table.h
Definition at line 164 of file objtable.h.
References SCIP_Bool, SCIP_DECL_TABLEOUTPUT(), SCIP_OKAY, SCIPfindObjTable(), SCIPgetObjTable(), and SCIPincludeObjTable().
◆ SCIP_DECL_TABLEOUTPUT()
|
pure virtual |
output method of statistics table to output file stream 'file'
- See also
- SCIP_DECL_TABLEOUTPUT(x) in type_table.h
Referenced by SCIP_DECL_TABLEEXITSOL().
Field Documentation
◆ scip_
SCIP* scip::ObjTable::scip_ |
SCIP data structure
Definition at line 59 of file objtable.h.
◆ scip_name_
char* scip::ObjTable::scip_name_ |
name of the statistics tables
Definition at line 62 of file objtable.h.
Referenced by SCIPincludeObjTable().
◆ scip_desc_
char* scip::ObjTable::scip_desc_ |
description of the statistics table
Definition at line 65 of file objtable.h.
Referenced by SCIPincludeObjTable().
◆ scip_position_
const int scip::ObjTable::scip_position_ |
position of the statistics table
Definition at line 68 of file objtable.h.
Referenced by SCIPincludeObjTable().
◆ scip_earlieststage_
SCIP_STAGE scip::ObjTable::scip_earlieststage_ |
output of the statistics table is only printed from this stage onwards
Definition at line 71 of file objtable.h.
Referenced by SCIPincludeObjTable().