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

islp_eval Class Reference

#include <islp_evaluator.h>

Inheritance diagram for islp_eval:

Inheritance graph
[legend]
Collaboration diagram for islp_eval:

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Methods

 islp_eval (std::vector< std::vector< interval > > &__der_data, variable_indicator &__v, const model &__m, std::vector< std::vector< interval > > *__d, std::vector< interval > &__islp)
 islp_eval (const islp_eval &__d)
 ~islp_eval ()
void new_point (std::vector< std::vector< interval > > &__der_data, const variable_indicator &__v)
void new_result (std::vector< interval > &__islp)
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_indicator * v_ind
islp_eval_type eval_data

Member Typedef Documentation

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

Definition at line 245 of file evaluator.h.

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

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

Definition at line 444 of file evaluator.h.

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

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

Definition at line 446 of file evaluator.h.

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

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

Definition at line 448 of file evaluator.h.


Constructor & Destructor Documentation

islp_eval::islp_eval (  std::vector< std::vector< interval > > &    __der_data,
variable_indicator &    __v,
const model &    __m,
std::vector< std::vector< interval > > *    __d,
std::vector< interval > &    __islp
)  [inline]
 

Definition at line 1416 of file islp_evaluator.h.

islp_eval::islp_eval (  const islp_eval &    __d )  [inline]
 

Definition at line 1430 of file islp_evaluator.h.

islp_eval::~islp_eval (    )  [inline]
 

Definition at line 1432 of file islp_evaluator.h.


Member Function Documentation

virtual int cached_backward_evaluator_base< islp_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 islp_eval::calculate (  const expression_node &    __data )  [inline]
 

Definition at line 1462 of file islp_evaluator.h.

bool islp_eval::calculate_value (  bool    eval_all )  [inline, virtual]
 

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

Definition at line 1561 of file islp_evaluator.h.

virtual void cached_backward_evaluator_base< islp_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 islp_eval::cleanup (  const expression_node &    __data )  [inline]
 

Definition at line 1515 of file islp_evaluator.h.

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

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

Definition at line 466 of file evaluator.h.

void islp_eval::initialize (    )  [inline, virtual]
 

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

Definition at line 1456 of file islp_evaluator.h.

bool islp_eval::is_cached (  const node_data_type &    __data )  [inline, protected, virtual]
 

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

Definition at line 1403 of file islp_evaluator.h.

void islp_eval::new_point (  std::vector< std::vector< interval > > &    __der_data,
const variable_indicator &    __v
)  [inline]
 

Definition at line 1434 of file islp_evaluator.h.

void islp_eval::new_result (  std::vector< interval > &    __islp )  [inline]
 

Definition at line 1441 of file islp_evaluator.h.

void cached_backward_evaluator_base< islp_eval_type, expression_node, bool, model::walker >::postorder (  const node_data_type &    __data )  [inline, virtual, inherited]
 

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

Definition at line 465 of file evaluator.h.

int cached_backward_evaluator_base< islp_eval_type, expression_node, bool, model::walker >::preorder (  const node_data_type &    __data )  [inline, virtual, inherited]
 

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

Definition at line 456 of file evaluator.h.

virtual void cached_backward_evaluator_base< islp_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 islp_eval::retrieve_from_cache (  const expression_node &    __data )  [inline]
 

Definition at line 1527 of file islp_evaluator.h.

void islp_eval::set_mult (  double    scal )  [inline]
 

Definition at line 1446 of file islp_evaluator.h.

virtual walker cached_evaluator_base< islp_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 islp_eval::short_cut_to (  const expression_node &    __data )  [inline]
 

Definition at line 1452 of file islp_evaluator.h.

virtual int cached_backward_evaluator_base< islp_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< islp_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 islp_eval::update (  const expression_node &    __data,
const bool &    __rval
)  [inline]
 

Definition at line 1542 of file islp_evaluator.h.

int islp_eval::update (  const bool &    __rval )  [inline]
 

Definition at line 1535 of file islp_evaluator.h.

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

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

Definition at line 471 of file evaluator.h.

int cached_backward_evaluator_base< islp_eval_type, expression_node, bool, model::walker >::vcollect (  const return_value &    __rval )  [inline, virtual, inherited]
 

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

Definition at line 468 of file evaluator.h.

void cached_backward_evaluator_base< islp_eval_type, expression_node, bool, model::walker >::vinit (    )  [inline, inherited]
 

Definition at line 470 of file evaluator.h.

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

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

Definition at line 472 of file evaluator.h.


Member Data Documentation

islp_eval_type _evaluator_base< islp_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< islp_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:19 2003 for COCONUT API by doxygen1.2.18