#include <search_node.h>
Inheritance diagram for work_node:
Public Types | |
typedef constraint_iterator_base< model::walker, const std::vector< model::walker > *, const std::vector< model::walker > &, const model::walker *, const model::walker &, std::vector< model::walker >::const_iterator > | constraint_const_iterator |
typedef constraint_iterator_base< model::walker, std::vector< model::walker > *, std::vector< model::walker > &, model::walker *, model::walker &, std::vector< model::walker >::iterator > | constraint_iterator |
typedef uint32_t | transaction_number |
Public Methods | |
transaction_number | get_transaction_number () |
void | init_cnumbers () |
void | reset_node_ranges () |
void | make_node_ranges (bool keep_old_ranges) |
double | compute_log_volume (const std::vector< interval > &_r) const |
work_node (const work_node &__w) | |
work_node (const search_node_id &_i, const vdbl::userid &_dui, gptr< model > &__m, gptr< vdbl::database > &__d, const std::vector< annotation > &__an, const std::list< delta_id > &__de, gptr< search_node > *_gm, search_node_relation snr=snr_worknode) | |
virtual | ~work_node () |
const model * | get_model () const |
model * | get_model () |
model | get (unsigned int __type) |
constraint_const_iterator | get_begin (unsigned int __type) const |
constraint_const_iterator | get_end (unsigned int __type) const |
constraint_iterator | get_begin (unsigned int __type) |
constraint_iterator | get_end (unsigned int __type) |
delta | get_delta (const delta_id &_id) |
const delta & | get_delta (const delta_id &_id) const |
double | log_volume () const |
double | gain () const |
double | reset_gain () |
unsigned int | n (unsigned int __type) const |
bool | is_delta () const |
const annotation & | get_annotation (unsigned int i) const |
const std::vector< annotation > & | get_annotations () const |
const vdbl::database * | get_database () const |
model * | get_model_ptr () const |
vdbl::database * | get_database_ptr () const |
vdbl::userid | get_dbuserid () const |
gptr< search_node > * | global_model () const |
gptr< vdbl::database > * | database () const |
search_node_id | get_id () const |
void | keep (const annotation &_an) |
void | keep (const std::vector< annotation > &_anv) |
void | unkeep (const annotation &_an) |
void | unkeep (const std::vector< annotation > &_anv) |
Public Attributes | |
std::list< delta_id > | deltas |
std::map< delta_id, undelta > | undeltas |
vdbl::standard_table * | dtable |
vdbl::tableid | dtable_id |
std::vector< interval > | node_ranges |
bool | infeasible |
double | log_vol |
double | gain_factor |
std::map< transaction_number, std::list< std::vector< delta > > > | proposed_splits |
std::vector< annotation > | _ann |
Protected Methods | |
search_node_id | node_id () const |
search_node_relation | parent_relation () const |
Protected Attributes | |
gptr< model > * | _m |
gptr< search_node > * | __global_model |
gptr< vdbl::database > * | __dbase |
vdbl::userid | _dbuser |
search_node_relation | _snr |
search_node_id | _id |
std::vector< annotation > | _keep |
Friends | |
class | delta |
class | undelta |
class | work_node_comp_hook |
work_node | operator+ (const work_node &_w, const delta_id &_d) |
work_node | operator- (const work_node &_w, const delta_id &_d) |
work_node & | operator+= (work_node &_w, const delta_id &_d) |
work_node & | operator-= (work_node &_w, const delta_id &_d) |
template<template< class _Tp, class _A > class _Ctr, class _Al> work_node | operator+ (const work_node &_w, const _Ctr< delta_id, _Al > &_d) |
template<template< class _Tp, class _A > class _Ctr, class _Al> work_node | operator- (const work_node &_w, const _Ctr< delta_id, _Al > &_d) |
template<template< class _Tp, class _A > class _Ctr, class _Al> work_node & | operator+= (work_node &_w, const _Ctr< delta_id, _Al > &_d) |
template<template< class _Tp, class _A > class _Ctr, class _Al> work_node & | operator-= (work_node &_w, const _Ctr< delta_id, _Al > &_d) |
class | delta_base |
class | dag_delta |
class | dag_undelta |
class | search_graph |
|
Definition at line 300 of file search_node.h. |
|
Definition at line 303 of file search_node.h. |
|
Definition at line 321 of file search_node.h. |
|
Definition at line 346 of file search_node.h. |
|
Definition at line 89 of file search_node.cc. |
|
Definition at line 371 of file search_node.h. |
|
Definition at line 175 of file search_node.cc. |
|
Definition at line 147 of file search_node.h. |
|
Definition at line 403 of file search_node.h. |
|
|
|
Definition at line 258 of file search_node.h. |
|
Definition at line 263 of file search_node.h. |
|
Definition at line 554 of file search_node.h. |
|
Definition at line 539 of file search_node.h. |
|
Definition at line 270 of file search_node.h. |
|
Definition at line 278 of file search_node.h. |
|
Definition at line 143 of file search_node.h. |
|
Definition at line 680 of file search_node.h. |
|
Definition at line 666 of file search_node.h. |
|
Definition at line 561 of file search_node.h. |
|
Definition at line 547 of file search_node.h. |
|
Definition at line 149 of file search_node.h. |
|
Definition at line 374 of file search_node.h. |
|
Reimplemented from full_node. Definition at line 373 of file search_node.h. |
|
Definition at line 273 of file search_node.h. |
|
Definition at line 327 of file search_node.h. |
|
Definition at line 145 of file search_node.h. |
|
Definition at line 129 of file search_node.cc. |
|
Reimplemented from search_node. Definition at line 256 of file search_node.h. |
|
Definition at line 153 of file search_node.h. |
|
Definition at line 151 of file search_node.h. |
|
Definition at line 402 of file search_node.h. |
|
Definition at line 151 of file search_node.cc. |
|
Definition at line 704 of file search_node.h. |
|
Definition at line 96 of file search_node.h. |
|
Definition at line 97 of file search_node.h. |
|
Definition at line 404 of file search_node.h. |
|
Definition at line 694 of file search_node.h. |
|
Definition at line 167 of file search_node.h. |
|
Definition at line 156 of file search_node.h. |
|
Definition at line 284 of file search_node.h. |
|
Definition at line 285 of file search_node.h. |
|
Definition at line 428 of file search_node.h. |
|
Definition at line 283 of file search_node.h. |
|
Definition at line 590 of file search_node.h. |
|
Definition at line 570 of file search_node.h. |
|
Definition at line 616 of file search_node.h. |
|
Definition at line 580 of file search_node.h. |
|
Definition at line 602 of file search_node.h. |
|
Definition at line 30 of file search_node.cc. |
|
Definition at line 627 of file search_node.h. |
|
Definition at line 60 of file search_node.cc. |
|
Definition at line 174 of file search_node.h. |
|
Definition at line 429 of file search_node.h. |
|
Definition at line 430 of file search_node.h. |
|
Definition at line 89 of file search_node.h. |
|
Definition at line 88 of file search_node.h. |
|
Definition at line 213 of file search_node.h. |
|
Definition at line 90 of file search_node.h. |
|
Definition at line 92 of file search_node.h. |
|
Definition at line 93 of file search_node.h. |
|
Definition at line 210 of file search_node.h. |
|
Definition at line 91 of file search_node.h. |
|
Definition at line 306 of file search_node.h. |
|
Definition at line 308 of file search_node.h. |
|
Definition at line 309 of file search_node.h. |
|
Definition at line 318 of file search_node.h. |
|
Definition at line 315 of file search_node.h. |
|
Definition at line 317 of file search_node.h. |
|
Definition at line 314 of file search_node.h. |
|
Definition at line 330 of file search_node.h. |
|
Definition at line 307 of file search_node.h. |