Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

work_node Class Reference

#include <search_node.h>

Inheritance diagram for work_node:

Inheritance graph
[legend]
Collaboration diagram for work_node:

Collaboration graph
[legend]
List of all members.

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 modelget_model () const
modelget_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 deltaget_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 annotationget_annotation (unsigned int i) const
const std::vector< annotation > & get_annotations () const
const vdbl::database * get_database () const
modelget_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_iddeltas
std::map< delta_id, undeltaundeltas
vdbl::standard_table * dtable
vdbl::tableid dtable_id
std::vector< intervalnode_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

Member Typedef Documentation

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> work_node::constraint_const_iterator
 

Definition at line 300 of file search_node.h.

typedef constraint_iterator_base<model::walker,std::vector<model::walker>*, std::vector<model::walker>&,model::walker*,model::walker&, std::vector<model::walker>::iterator> work_node::constraint_iterator
 

Definition at line 303 of file search_node.h.

typedef uint32_t work_node::transaction_number
 

Definition at line 321 of file search_node.h.


Constructor & Destructor Documentation

work_node::work_node const work_node &    __w [inline]
 

Definition at line 346 of file search_node.h.

work_node::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
 

Definition at line 89 of file search_node.cc.

virtual work_node::~work_node   [inline, virtual]
 

Definition at line 371 of file search_node.h.


Member Function Documentation

double work_node::compute_log_volume const std::vector< interval > &    _r const
 

Definition at line 175 of file search_node.cc.

gptr<vdbl::database>* search_node::database   const [inline, inherited]
 

Definition at line 147 of file search_node.h.

double work_node::gain   const [inline]
 

Definition at line 403 of file search_node.h.

model work_node::get unsigned int    __type
 

const annotation& full_node::get_annotation unsigned int    i const [inline, inherited]
 

Definition at line 258 of file search_node.h.

const std::vector<annotation>& full_node::get_annotations   const [inline, inherited]
 

Definition at line 263 of file search_node.h.

work_node::constraint_iterator work_node::get_begin unsigned int    __type [inline]
 

Definition at line 554 of file search_node.h.

work_node::constraint_const_iterator work_node::get_begin unsigned int    __type const [inline]
 

Definition at line 539 of file search_node.h.

const vdbl::database* full_node::get_database   const [inline, inherited]
 

Definition at line 270 of file search_node.h.

vdbl::database* full_node::get_database_ptr   const [inline, inherited]
 

Definition at line 278 of file search_node.h.

vdbl::userid search_node::get_dbuserid   const [inline, inherited]
 

Definition at line 143 of file search_node.h.

const delta & work_node::get_delta const delta_id   _id const [inline]
 

Definition at line 680 of file search_node.h.

delta work_node::get_delta const delta_id   _id [inline]
 

Definition at line 666 of file search_node.h.

work_node::constraint_iterator work_node::get_end unsigned int    __type [inline]
 

Definition at line 561 of file search_node.h.

work_node::constraint_const_iterator work_node::get_end unsigned int    __type const [inline]
 

Definition at line 547 of file search_node.h.

search_node_id search_node::get_id   const [inline, inherited]
 

Definition at line 149 of file search_node.h.

model* work_node::get_model   [inline]
 

Definition at line 374 of file search_node.h.

const model* work_node::get_model   const [inline]
 

Reimplemented from full_node.

Definition at line 373 of file search_node.h.

model* full_node::get_model_ptr   const [inline, inherited]
 

Definition at line 273 of file search_node.h.

transaction_number work_node::get_transaction_number   [inline]
 

Definition at line 327 of file search_node.h.

gptr<search_node>* search_node::global_model   const [inline, inherited]
 

Definition at line 145 of file search_node.h.

void work_node::init_cnumbers  
 

Definition at line 129 of file search_node.cc.

bool full_node::is_delta   const [inline, virtual, inherited]
 

Reimplemented from search_node.

Definition at line 256 of file search_node.h.

void search_node::keep const std::vector< annotation > &    _anv [inline, inherited]
 

Definition at line 153 of file search_node.h.

void search_node::keep const annotation   _an [inline, inherited]
 

Definition at line 151 of file search_node.h.

double work_node::log_volume   const [inline]
 

Definition at line 402 of file search_node.h.

void work_node::make_node_ranges bool    keep_old_ranges
 

Definition at line 151 of file search_node.cc.

unsigned int work_node::n unsigned int    __type const [inline]
 

Definition at line 704 of file search_node.h.

search_node_id search_node::node_id   const [inline, protected, inherited]
 

Definition at line 96 of file search_node.h.

search_node_relation search_node::parent_relation   const [inline, protected, inherited]
 

Definition at line 97 of file search_node.h.

double work_node::reset_gain   [inline]
 

Definition at line 404 of file search_node.h.

void work_node::reset_node_ranges   [inline]
 

Definition at line 694 of file search_node.h.

void search_node::unkeep const std::vector< annotation > &    _anv [inline, inherited]
 

Definition at line 167 of file search_node.h.

void search_node::unkeep const annotation   _an [inline, inherited]
 

Definition at line 156 of file search_node.h.


Friends And Related Function Documentation

friend class dag_delta [friend, inherited]
 

Definition at line 284 of file search_node.h.

friend class dag_undelta [friend, inherited]
 

Definition at line 285 of file search_node.h.

friend class delta [friend]
 

Definition at line 428 of file search_node.h.

friend class delta_base [friend, inherited]
 

Definition at line 283 of file search_node.h.

template<template< class _Tp, class _A > class _Ctr, class _Al>
work_node operator+ const work_node &    _w,
const _Ctr< delta_id, _Al > &    _d
[friend]
 

Definition at line 590 of file search_node.h.

work_node operator+ const work_node &    _w,
const delta_id   _i
[friend]
 

Definition at line 570 of file search_node.h.

template<template< class _Tp, class _A > class _Ctr, class _Al>
work_node& operator+= work_node &    _w,
const _Ctr< delta_id, _Al > &    _d
[friend]
 

Definition at line 616 of file search_node.h.

work_node& operator+= work_node &    _w,
const delta_id   _i
[friend]
 

Definition at line 580 of file search_node.h.

template<template< class _Tp, class _A > class _Ctr, class _Al>
work_node operator- const work_node &    _w,
const _Ctr< delta_id, _Al > &    _d
[friend]
 

Definition at line 602 of file search_node.h.

work_node operator- const work_node &    _w,
const delta_id   _d
[friend]
 

Definition at line 30 of file search_node.cc.

template<template< class _Tp, class _A > class _Ctr, class _Al>
work_node& operator-= work_node &    _w,
const _Ctr< delta_id, _Al > &    _d
[friend]
 

Definition at line 627 of file search_node.h.

work_node& operator-= work_node &    _w,
const delta_id   _d
[friend]
 

Definition at line 60 of file search_node.cc.

friend class search_graph [friend, inherited]
 

Definition at line 174 of file search_node.h.

friend class undelta [friend]
 

Definition at line 429 of file search_node.h.

friend class work_node_comp_hook [friend]
 

Definition at line 430 of file search_node.h.


Member Data Documentation

gptr<vdbl::database>* search_node::__dbase [protected, inherited]
 

Definition at line 89 of file search_node.h.

gptr<search_node>* search_node::__global_model [protected, inherited]
 

Definition at line 88 of file search_node.h.

std::vector<annotation> full_node::_ann [inherited]
 

Definition at line 213 of file search_node.h.

vdbl::userid search_node::_dbuser [protected, inherited]
 

Definition at line 90 of file search_node.h.

search_node_id search_node::_id [protected, inherited]
 

Definition at line 92 of file search_node.h.

std::vector<annotation> search_node::_keep [protected, inherited]
 

Definition at line 93 of file search_node.h.

gptr<model>* full_node::_m [protected, inherited]
 

Definition at line 210 of file search_node.h.

search_node_relation search_node::_snr [protected, inherited]
 

Definition at line 91 of file search_node.h.

std::list<delta_id> work_node::deltas
 

Definition at line 306 of file search_node.h.

vdbl::standard_table* work_node::dtable
 

Definition at line 308 of file search_node.h.

vdbl::tableid work_node::dtable_id
 

Definition at line 309 of file search_node.h.

double work_node::gain_factor
 

Definition at line 318 of file search_node.h.

bool work_node::infeasible
 

Definition at line 315 of file search_node.h.

double work_node::log_vol
 

Definition at line 317 of file search_node.h.

std::vector<interval> work_node::node_ranges
 

Definition at line 314 of file search_node.h.

std::map<transaction_number,std::list<std::vector<delta> > > work_node::proposed_splits
 

Definition at line 330 of file search_node.h.

std::map<delta_id,undelta> work_node::undeltas
 

Definition at line 307 of file search_node.h.


The documentation for this class was generated from the following files:
Generated on Tue Nov 4 01:59:42 2003 for COCONUT API by doxygen1.2.18