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

lincoeff_visitor Class Reference

#include <model-inline.h>

Inheritance diagram for lincoeff_visitor:

Inheritance graph
[legend]
Collaboration diagram for lincoeff_visitor:

Collaboration graph
[legend]
List of all members.

Public Types

typedef cached_evaluator_base<
lincoeff_visitor_st, expression_node,
lincoeff_visitor_ret, model::walker
>::node_data_type 
node_data_type
typedef cached_evaluator_base<
lincoeff_visitor_st, expression_node,
lincoeff_visitor_ret, model::walker
>::return_value 
return_value
typedef cached_evaluator_base<
lincoeff_visitor_st, expression_node,
lincoeff_visitor_ret, model::walker
>::walker 
walker
typedef lincoeff_visitor_st data_type

Public Methods

 lincoeff_visitor (const std::vector< interval > *_rg, sparse_vector< double > *_cf, double *_cs, const model *_m)
 lincoeff_visitor (const lincoeff_visitor &__x)
 ~lincoeff_visitor ()
bool is_cached (const expression_node &__data)
void initialize ()
void initialize (const expression_node &__data)
void retrieve_from_cache (const expression_node &__data)
int calculate (const expression_node &__data)
int update (const expression_node &__data, const lincoeff_visitor_ret &__rval)
int update (const lincoeff_visitor_ret &__rval)
lincoeff_visitor_ret calculate_value (bool eval_all)
virtual bool is_cached (const node_data_type &__data)
int preorder (const node_data_type &__data)
void postorder (const node_data_type &__data)
int collect (const node_data_type &__data, const return_value &__rval)
int vcollect (const return_value &__rval)
void vinit ()
return_value value ()
return_value vvalue ()
virtual int calculate (const node_data_type &__data)
virtual void cleanup (const node_data_type &__data)
virtual void retrieve_from_cache (const node_data_type &__data)
virtual int update (const node_data_type &__data, const return_value &__rval)
virtual int update (const return_value &__rval)
virtual walker short_cut_to (const node_data_type &__data) PURE_VIRTUAL public

Protected Attributes

const variable_indicatorv_ind
lincoeff_visitor_st eval_data

Member Typedef Documentation

typedef lincoeff_visitor_st _evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::data_type [inherited]
 

Definition at line 245 of file evaluator.h.

typedef cached_evaluator_base<lincoeff_visitor_st, expression_node, lincoeff_visitor_ret,model::walker>::node_data_type cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::node_data_type [inherited]
 

Reimplemented from cached_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >.

Definition at line 444 of file evaluator.h.

typedef cached_evaluator_base<lincoeff_visitor_st, expression_node, lincoeff_visitor_ret,model::walker>::return_value cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::return_value [inherited]
 

Reimplemented from cached_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >.

Definition at line 446 of file evaluator.h.

typedef cached_evaluator_base<lincoeff_visitor_st, expression_node, lincoeff_visitor_ret,model::walker>::walker cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::walker [inherited]
 

Reimplemented from cached_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >.

Definition at line 448 of file evaluator.h.


Constructor & Destructor Documentation

lincoeff_visitor::lincoeff_visitor const std::vector< interval > *    _rg,
sparse_vector< double > *    _cf,
double *    _cs,
const model   _m
[inline]
 

Definition at line 1701 of file model-inline.h.

lincoeff_visitor::lincoeff_visitor const lincoeff_visitor &    __x [inline]
 

Definition at line 1720 of file model-inline.h.

lincoeff_visitor::~lincoeff_visitor   [inline]
 

Definition at line 1722 of file model-inline.h.


Member Function Documentation

virtual int cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::calculate const node_data_type   __data [inline, virtual, inherited]
 

Definition at line 476 of file evaluator.h.

int lincoeff_visitor::calculate const expression_node   __data [inline]
 

Definition at line 1774 of file model-inline.h.

lincoeff_visitor_ret lincoeff_visitor::calculate_value bool    eval_all [inline, virtual]
 

Reimplemented from cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >.

Definition at line 2362 of file model-inline.h.

virtual void cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::cleanup const node_data_type   __data [inline, virtual, inherited]
 

Definition at line 477 of file evaluator.h.

int cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::collect const node_data_type   __data,
const return_value   __rval
[inline, virtual, inherited]
 

Reimplemented from _evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >.

Definition at line 466 of file evaluator.h.

void lincoeff_visitor::initialize const expression_node   __data [inline]
 

Definition at line 1741 of file model-inline.h.

void lincoeff_visitor::initialize   [inline, virtual]
 

Reimplemented from cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >.

Definition at line 1730 of file model-inline.h.

virtual bool cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::is_cached const node_data_type   __data [inline, virtual, inherited]
 

Definition at line 453 of file evaluator.h.

bool lincoeff_visitor::is_cached const expression_node   __data [inline]
 

Definition at line 1724 of file model-inline.h.

void cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::postorder const node_data_type   __data [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >.

Definition at line 465 of file evaluator.h.

int cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::preorder const node_data_type   __data [inline, virtual, inherited]
 

Reimplemented from cached_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >.

Definition at line 456 of file evaluator.h.

virtual void cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::retrieve_from_cache const node_data_type   __data [inline, virtual, inherited]
 

Definition at line 478 of file evaluator.h.

void lincoeff_visitor::retrieve_from_cache const expression_node   __data [inline]
 

Definition at line 1752 of file model-inline.h.

virtual walker cached_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::short_cut_to const node_data_type   __data [inline, virtual, inherited]
 

Definition at line 303 of file evaluator.h.

virtual int cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::update const return_value   __rval [inline, virtual, inherited]
 

Definition at line 481 of file evaluator.h.

virtual int cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::update const node_data_type   __data,
const return_value   __rval
[inline, virtual, inherited]
 

Definition at line 479 of file evaluator.h.

int lincoeff_visitor::update const lincoeff_visitor_ret   __rval [inline]
 

Definition at line 2354 of file model-inline.h.

int lincoeff_visitor::update const expression_node   __data,
const lincoeff_visitor_ret   __rval
[inline]
 

Definition at line 1881 of file model-inline.h.

return_value cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::value   [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >.

Definition at line 471 of file evaluator.h.

int cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::vcollect const return_value   __rval [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >.

Definition at line 468 of file evaluator.h.

void cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::vinit   [inline, inherited]
 

Definition at line 470 of file evaluator.h.

return_value cached_backward_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::vvalue   [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >.

Definition at line 472 of file evaluator.h.


Member Data Documentation

lincoeff_visitor_st _evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::eval_data [protected, inherited]
 

Definition at line 252 of file evaluator.h.

const variable_indicator* cached_evaluator_base< lincoeff_visitor_st, expression_node, lincoeff_visitor_ret, model::walker >::v_ind [protected, inherited]
 

Definition at line 295 of file evaluator.h.


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