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

interval_eval Class Reference

#include <int_evaluator.h>

Inheritance diagram for interval_eval:

Inheritance graph
[legend]
Collaboration diagram for interval_eval:

Collaboration graph
[legend]
List of all members.

Public Types

typedef cached_evaluator_base<
interval_eval_type, expression_node,
interval, model::walker
>::node_data_type 
node_data_type
typedef cached_evaluator_base<
interval_eval_type, expression_node,
interval, model::walker
>::return_value 
return_value
typedef cached_evaluator_base<
interval_eval_type, expression_node,
interval, model::walker
>::walker 
walker
typedef interval_eval_type data_type

Public Methods

 interval_eval (const std::vector< interval > &__x, const variable_indicator &__v, const model &__m, std::vector< interval > *__c, bool do_i=true)
 interval_eval (const interval_eval &__v)
 ~interval_eval ()
model::walker short_cut_to (const expression_node &__data)
void initialize ()
int initialize (const expression_node &__data)
void calculate (const expression_node &__data)
void retrieve_from_cache (const expression_node &__data)
int update (const interval &__rval)
int update (const expression_node &__data, const interval &__rval)
interval calculate_value (bool eval_all)
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)
return_value value ()
return_value vvalue ()
void vinit ()
virtual int initialize (const node_data_type &__data)
virtual void calculate (const node_data_type &__data)
virtual void retrieve_from_cache (const node_data_type &__data)
virtual void cleanup (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 Methods

bool is_cached (const node_data_type &__data)

Protected Attributes

const variable_indicatorv_ind
interval_eval_type eval_data

Member Typedef Documentation

typedef interval_eval_type _evaluator_base< interval_eval_type, expression_node, interval, model::walker >::data_type [inherited]
 

Definition at line 245 of file evaluator.h.

typedef cached_evaluator_base<interval_eval_type, expression_node, interval,model::walker>::node_data_type cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::node_data_type [inherited]
 

Reimplemented from cached_evaluator_base< interval_eval_type, expression_node, interval, model::walker >.

Definition at line 396 of file evaluator.h.

typedef cached_evaluator_base<interval_eval_type, expression_node, interval,model::walker>::return_value cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::return_value [inherited]
 

Reimplemented from cached_evaluator_base< interval_eval_type, expression_node, interval, model::walker >.

Definition at line 398 of file evaluator.h.

typedef cached_evaluator_base<interval_eval_type, expression_node, interval,model::walker>::walker cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::walker [inherited]
 

Reimplemented from cached_evaluator_base< interval_eval_type, expression_node, interval, model::walker >.

Definition at line 400 of file evaluator.h.


Constructor & Destructor Documentation

interval_eval::interval_eval const std::vector< interval > &    __x,
const variable_indicator   __v,
const model   __m,
std::vector< interval > *    __c,
bool    do_i = true
[inline]
 

Definition at line 109 of file int_evaluator.h.

interval_eval::interval_eval const interval_eval &    __v [inline]
 

Definition at line 122 of file int_evaluator.h.

interval_eval::~interval_eval   [inline]
 

Definition at line 124 of file int_evaluator.h.


Member Function Documentation

virtual void cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::calculate const node_data_type   __data [inline, virtual, inherited]
 

Definition at line 430 of file evaluator.h.

void interval_eval::calculate const expression_node   __data [inline]
 

Definition at line 188 of file int_evaluator.h.

interval interval_eval::calculate_value bool    eval_all [inline, virtual]
 

Reimplemented from cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >.

Definition at line 674 of file int_evaluator.h.

virtual void cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::cleanup const node_data_type   __data [inline, virtual, inherited]
 

Definition at line 432 of file evaluator.h.

int cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::collect const node_data_type   __data,
const return_value   __rval
[inline, virtual, inherited]
 

Reimplemented from _evaluator_base< interval_eval_type, expression_node, interval, model::walker >.

Definition at line 419 of file evaluator.h.

virtual int cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::initialize const node_data_type   __data [inline, virtual, inherited]
 

Definition at line 429 of file evaluator.h.

int interval_eval::initialize const expression_node   __data [inline]
 

Definition at line 131 of file int_evaluator.h.

void interval_eval::initialize   [inline, virtual]
 

Reimplemented from cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >.

Definition at line 129 of file int_evaluator.h.

bool interval_eval::is_cached const node_data_type   __data [inline, protected, virtual]
 

Reimplemented from cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >.

Definition at line 63 of file int_evaluator.h.

void cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::postorder const node_data_type   __data [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< interval_eval_type, expression_node, interval, model::walker >.

Definition at line 417 of file evaluator.h.

int cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::preorder const node_data_type   __data [inline, virtual, inherited]
 

Reimplemented from cached_evaluator_base< interval_eval_type, expression_node, interval, model::walker >.

Definition at line 408 of file evaluator.h.

virtual void cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::retrieve_from_cache const node_data_type   __data [inline, virtual, inherited]
 

Definition at line 431 of file evaluator.h.

void interval_eval::retrieve_from_cache const expression_node   __data [inline]
 

Definition at line 199 of file int_evaluator.h.

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

Definition at line 303 of file evaluator.h.

model::walker interval_eval::short_cut_to const expression_node   __data [inline]
 

Definition at line 126 of file int_evaluator.h.

virtual int cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::update const return_value   __rval [inline, virtual, inherited]
 

Definition at line 435 of file evaluator.h.

virtual int cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::update const node_data_type   __data,
const return_value   __rval
[inline, virtual, inherited]
 

Definition at line 433 of file evaluator.h.

int interval_eval::update const expression_node   __data,
const interval   __rval
[inline]
 

Definition at line 224 of file int_evaluator.h.

int interval_eval::update const interval   __rval [inline]
 

Definition at line 218 of file int_evaluator.h.

return_value cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::value   [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< interval_eval_type, expression_node, interval, model::walker >.

Definition at line 423 of file evaluator.h.

int cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::vcollect const return_value   __rval [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< interval_eval_type, expression_node, interval, model::walker >.

Definition at line 421 of file evaluator.h.

void cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::vinit   [inline, inherited]
 

Definition at line 425 of file evaluator.h.

return_value cached_forward_evaluator_base< interval_eval_type, expression_node, interval, model::walker >::vvalue   [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< interval_eval_type, expression_node, interval, model::walker >.

Definition at line 424 of file evaluator.h.


Member Data Documentation

interval_eval_type _evaluator_base< interval_eval_type, expression_node, interval, model::walker >::eval_data [protected, inherited]
 

Definition at line 252 of file evaluator.h.

const variable_indicator* cached_evaluator_base< interval_eval_type, expression_node, interval, 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:17 2003 for COCONUT API by doxygen1.2.18