#include <infeng_hook.h>


Public Member Functions | |
| inference_engine_comp_hook (inference_engine *_ie, const control_data &_cd, double _thr=-COCO_INF) | |
| inference_engine_comp_hook (inference_engine *_ie, const control_data &_cd, const std::map< std::triple< std::string, bool, int >, std::pair< std::string, basic_alltype > > &_itc, double _thr=-COCO_INF) | |
| inference_engine_comp_hook (const inference_engine_comp_hook &iec) | |
| virtual | ~inference_engine_comp_hook () |
| inference_engine_comp_hook * | new_copy () const |
| void | operator() (const work_node &wn, dbt_row &dbr, std::list< delta > *add_ds=NULL, std::list< certificate > *add_cs=NULL) const |
| bool | init_columns (vdbl::standard_table &stable) |
| bool | drop_columns (vdbl::standard_table &stable) |
| const std::string & | name () const |
Protected Member Functions | |
| template<class _CI > | |
| bool | _init_column (vdbl::standard_table &stable, const std::string &colname, const _CI &c) |
| template<class _CI > | |
| bool | _init_column (vdbl::standard_table &stable, const char *colname, const _CI &c) |
| bool | _drop_columns (vdbl::standard_table &stable) |
| search_node_relation | parent_relation (const work_node &wn) const |
| search_node_id | node_id (const work_node &wn) const |
Definition at line 48 of file infeng_hook.h.
| coco::inference_engine_comp_hook::inference_engine_comp_hook | ( | inference_engine * | _ie, | |
| const control_data & | _cd, | |||
| double | _thr = -COCO_INF | |||
| ) | [inline] |
Standard Constructor
Definition at line 66 of file infeng_hook.h.
| coco::inference_engine_comp_hook::inference_engine_comp_hook | ( | inference_engine * | _ie, | |
| const control_data & | _cd, | |||
| const std::map< std::triple< std::string, bool, int >, std::pair< std::string, basic_alltype > > & | _itc, | |||
| double | _thr = -COCO_INF | |||
| ) | [inline] |
Enhanced Standard Constructor
Definition at line 73 of file infeng_hook.h.
| coco::inference_engine_comp_hook::inference_engine_comp_hook | ( | const inference_engine_comp_hook & | iec | ) | [inline] |
Copy Constructor
Definition at line 82 of file infeng_hook.h.
| virtual coco::inference_engine_comp_hook::~inference_engine_comp_hook | ( | ) | [inline, virtual] |
Standard Destructor
Definition at line 88 of file infeng_hook.h.
| bool coco::wnc_hook_base::_drop_columns | ( | vdbl::standard_table & | stable | ) | [protected, inherited] |
Remove all columns, whose identifiers are stored in __managed_cols from table stable.
Definition at line 34 of file comp_hook.cc.
| bool coco::wnc_hook_base::_init_column | ( | vdbl::standard_table & | stable, | |
| const char * | colname, | |||
| const _CI & | c | |||
| ) | [inline, protected, inherited] |
Add a column of type _CI with name colname to the table stable. The column is stored in __managed_cols.
Definition at line 135 of file comp_hook.h.
| bool coco::wnc_hook_base::_init_column | ( | vdbl::standard_table & | stable, | |
| const std::string & | colname, | |||
| const _CI & | c | |||
| ) | [inline, protected, inherited] |
Add a column of type _CI with name colname to the table stable. The column is stored in __managed_cols.
Definition at line 238 of file comp_hook.h.
| bool coco::inference_engine_comp_hook::drop_columns | ( | vdbl::standard_table & | stable | ) | [inline, virtual] |
Upon unregistering this hook, destroy the registered columns
Reimplemented from coco::wnc_hook_base.
Definition at line 291 of file infeng_hook.h.
| bool coco::inference_engine_comp_hook::init_columns | ( | vdbl::standard_table & | stable | ) | [inline, virtual] |
Upon registering this hook, initialize the columns defined.
Reimplemented from coco::wnc_hook_base.
Definition at line 191 of file infeng_hook.h.
| const std::string& coco::wnc_hook_base::name | ( | ) | const [inline, inherited] |
Return the identifier string of this work node computation hook.
Definition at line 190 of file comp_hook.h.
| inference_engine_comp_hook* coco::inference_engine_comp_hook::new_copy | ( | ) | const [inline, virtual] |
| search_node_id coco::wnc_hook_base::node_id | ( | const work_node & | wn | ) | const [protected, inherited] |
This method is an accessor to the search_node_id of work_node wn.
Definition at line 43 of file comp_hook.cc.
| void coco::inference_engine_comp_hook::operator() | ( | const work_node & | wn, | |
| dbt_row & | dbr, | |||
| std::list< delta > * | add_ds = NULL, |
|||
| std::list< certificate > * | add_cs = NULL | |||
| ) | const [inline, virtual] |
The evaluation operator of this computation hook. It stores the lower and upper bounds on the objective function on the work_node wn in dbt_row dbr.
Implements coco::wnc_hook_base.
Definition at line 97 of file infeng_hook.h.
| search_node_relation coco::wnc_hook_base::parent_relation | ( | const work_node & | wn | ) | const [protected, inherited] |
This method is an accessor to the search_node_relation of work_node wn.
Definition at line 46 of file comp_hook.cc.
1.5.8