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

ider_eval Class Reference

#include <ider_evaluator.h>

Inheritance diagram for ider_eval:

Inheritance graph
[legend]
Collaboration diagram for ider_eval:

Collaboration graph
[legend]
List of all members.

Public Types

typedef cached_evaluator_base<
ider_eval_type, expression_node,
bool, model::walker >::node_data_type 
node_data_type
typedef cached_evaluator_base<
ider_eval_type, expression_node,
bool, model::walker >::return_value 
return_value
typedef cached_evaluator_base<
ider_eval_type, expression_node,
bool, model::walker >::walker 
walker
typedef ider_eval_type data_type

Public Methods

 ider_eval (std::vector< interval > __x, std::vector< std::vector< interval > > &__ider_data, variable_indicator &__v, const model &__m, std::vector< std::vector< interval > > *__d, std::vector< interval > &__grad)
 ider_eval (const ider_eval &__d)
 ~ider_eval ()
void new_box (std::vector< std::vector< interval > > &__ider_data, const variable_indicator &__v)
void new_result (std::vector< interval > &__grad)
void set_mult (double scal)
model::walker short_cut_to (const expression_node &__data)
void initialize ()
int calculate (const expression_node &__data)
void cleanup (const expression_node &__data)
void retrieve_from_cache (const expression_node &__data)
int update (const bool &__rval)
int update (const expression_node &__data, const bool &__rval)
bool 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)
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 Methods

bool is_cached (const node_data_type &__data)

Protected Attributes

const variable_indicatorv_ind
ider_eval_type eval_data

Member Typedef Documentation

typedef ider_eval_type _evaluator_base< ider_eval_type, expression_node, bool, model::walker >::data_type [inherited]
 

Definition at line 245 of file evaluator.h.

typedef cached_evaluator_base<ider_eval_type, expression_node, bool,model::walker>::node_data_type cached_backward_evaluator_base< ider_eval_type, expression_node, bool, model::walker >::node_data_type [inherited]
 

Reimplemented from cached_evaluator_base< ider_eval_type, expression_node, bool, model::walker >.

Definition at line 444 of file evaluator.h.

typedef cached_evaluator_base<ider_eval_type, expression_node, bool,model::walker>::return_value cached_backward_evaluator_base< ider_eval_type, expression_node, bool, model::walker >::return_value [inherited]
 

Reimplemented from cached_evaluator_base< ider_eval_type, expression_node, bool, model::walker >.

Definition at line 446 of file evaluator.h.

typedef cached_evaluator_base<ider_eval_type, expression_node, bool,model::walker>::walker cached_backward_evaluator_base< ider_eval_type, expression_node, bool, model::walker >::walker [inherited]
 

Reimplemented from cached_evaluator_base< ider_eval_type, expression_node, bool, model::walker >.

Definition at line 448 of file evaluator.h.


Constructor & Destructor Documentation

ider_eval::ider_eval std::vector< interval   __x,
std::vector< std::vector< interval > > &    __ider_data,
variable_indicator   __v,
const model   __m,
std::vector< std::vector< interval > > *    __d,
std::vector< interval > &    __grad
[inline]
 

Definition at line 1245 of file ider_evaluator.h.

ider_eval::ider_eval const ider_eval &    __d [inline]
 

Definition at line 1260 of file ider_evaluator.h.

ider_eval::~ider_eval   [inline]
 

Definition at line 1262 of file ider_evaluator.h.


Member Function Documentation

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

Definition at line 476 of file evaluator.h.

int ider_eval::calculate const expression_node   __data [inline]
 

Definition at line 1292 of file ider_evaluator.h.

bool ider_eval::calculate_value bool    eval_all [inline, virtual]
 

Reimplemented from cached_backward_evaluator_base< ider_eval_type, expression_node, bool, model::walker >.

Definition at line 1389 of file ider_evaluator.h.

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

Definition at line 477 of file evaluator.h.

void ider_eval::cleanup const expression_node   __data [inline]
 

Definition at line 1345 of file ider_evaluator.h.

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

Reimplemented from _evaluator_base< ider_eval_type, expression_node, bool, model::walker >.

Definition at line 466 of file evaluator.h.

void ider_eval::initialize   [inline, virtual]
 

Reimplemented from cached_backward_evaluator_base< ider_eval_type, expression_node, bool, model::walker >.

Definition at line 1286 of file ider_evaluator.h.

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

Reimplemented from cached_backward_evaluator_base< ider_eval_type, expression_node, bool, model::walker >.

Definition at line 1232 of file ider_evaluator.h.

void ider_eval::new_box std::vector< std::vector< interval > > &    __ider_data,
const variable_indicator   __v
[inline]
 

Definition at line 1264 of file ider_evaluator.h.

void ider_eval::new_result std::vector< interval > &    __grad [inline]
 

Definition at line 1271 of file ider_evaluator.h.

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

Reimplemented from _evaluator_base< ider_eval_type, expression_node, bool, model::walker >.

Definition at line 465 of file evaluator.h.

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

Reimplemented from cached_evaluator_base< ider_eval_type, expression_node, bool, model::walker >.

Definition at line 456 of file evaluator.h.

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

Definition at line 478 of file evaluator.h.

void ider_eval::retrieve_from_cache const expression_node   __data [inline]
 

Definition at line 1356 of file ider_evaluator.h.

void ider_eval::set_mult double    scal [inline]
 

Definition at line 1276 of file ider_evaluator.h.

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

Definition at line 303 of file evaluator.h.

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

Definition at line 1282 of file ider_evaluator.h.

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

Definition at line 481 of file evaluator.h.

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

Definition at line 479 of file evaluator.h.

int ider_eval::update const expression_node   __data,
const bool   __rval
[inline]
 

Definition at line 1370 of file ider_evaluator.h.

int ider_eval::update const bool   __rval [inline]
 

Definition at line 1363 of file ider_evaluator.h.

return_value cached_backward_evaluator_base< ider_eval_type, expression_node, bool, model::walker >::value   [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< ider_eval_type, expression_node, bool, model::walker >.

Definition at line 471 of file evaluator.h.

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

Reimplemented from _evaluator_base< ider_eval_type, expression_node, bool, model::walker >.

Definition at line 468 of file evaluator.h.

void cached_backward_evaluator_base< ider_eval_type, expression_node, bool, model::walker >::vinit   [inline, inherited]
 

Definition at line 470 of file evaluator.h.

return_value cached_backward_evaluator_base< ider_eval_type, expression_node, bool, model::walker >::vvalue   [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< ider_eval_type, expression_node, bool, model::walker >.

Definition at line 472 of file evaluator.h.


Member Data Documentation

ider_eval_type _evaluator_base< ider_eval_type, expression_node, bool, model::walker >::eval_data [protected, inherited]
 

Definition at line 252 of file evaluator.h.

const variable_indicator* cached_evaluator_base< ider_eval_type, expression_node, bool, 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:10 2003 for COCONUT API by doxygen1.2.18