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

der_eval Class Reference

#include <der_evaluator.h>

Inheritance diagram for der_eval:

Inheritance graph
[legend]
Collaboration diagram for der_eval:

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Methods

 der_eval (std::vector< std::vector< double > > &__der_data, variable_indicator &__v, const model &__m, std::vector< std::vector< double > > *__d, std::vector< double > &__grad)
 der_eval (const der_eval &__d)
 ~der_eval ()
void new_point (std::vector< std::vector< double > > &__der_data, const variable_indicator &__v)
void new_result (std::vector< double > &__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)
 der_eval (std::vector< std::vector< double > > &__der_data, variable_indicator &__v, const model &__m, std::vector< std::vector< double > > *__d, std::vector< double > &__grad)
 der_eval (const der_eval &__d)
 ~der_eval ()
void new_point (std::vector< std::vector< double > > &__der_data, const variable_indicator &__v)
void new_result (std::vector< double > &__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)
bool is_cached (const node_data_type &__data)

Protected Attributes

const variable_indicatorv_ind
der_eval_type eval_data

Member Typedef Documentation

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

Definition at line 245 of file evaluator.h.

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

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

Definition at line 444 of file evaluator.h.

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

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

Definition at line 446 of file evaluator.h.

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

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

Definition at line 448 of file evaluator.h.


Constructor & Destructor Documentation

der_eval::der_eval std::vector< std::vector< double > > &    __der_data,
variable_indicator   __v,
const model   __m,
std::vector< std::vector< double > > *    __d,
std::vector< double > &    __grad
[inline]
 

Definition at line 957 of file der_evaluator.h.

der_eval::der_eval const der_eval &    __d [inline]
 

Definition at line 970 of file der_evaluator.h.

der_eval::~der_eval   [inline]
 

Definition at line 972 of file der_evaluator.h.

der_eval::der_eval std::vector< std::vector< double > > &    __der_data,
variable_indicator   __v,
const model   __m,
std::vector< std::vector< double > > *    __d,
std::vector< double > &    __grad
[inline]
 

Definition at line 1007 of file hess_evaluator.h.

der_eval::der_eval const der_eval &    __d [inline]
 

Definition at line 1020 of file hess_evaluator.h.

der_eval::~der_eval   [inline]
 

Definition at line 1022 of file hess_evaluator.h.


Member Function Documentation

virtual int cached_backward_evaluator_base< der_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 der_eval::calculate const expression_node   __data [inline]
 

Definition at line 1052 of file hess_evaluator.h.

int der_eval::calculate const expression_node   __data [inline]
 

Definition at line 1002 of file der_evaluator.h.

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

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

Definition at line 1144 of file hess_evaluator.h.

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

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

Definition at line 1094 of file der_evaluator.h.

virtual void cached_backward_evaluator_base< der_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 der_eval::cleanup const expression_node   __data [inline]
 

Definition at line 1100 of file hess_evaluator.h.

void der_eval::cleanup const expression_node   __data [inline]
 

Definition at line 1050 of file der_evaluator.h.

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

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

Definition at line 466 of file evaluator.h.

void der_eval::initialize   [inline, virtual]
 

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

Definition at line 1046 of file hess_evaluator.h.

void der_eval::initialize   [inline, virtual]
 

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

Definition at line 996 of file der_evaluator.h.

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

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

Definition at line 994 of file hess_evaluator.h.

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

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

Definition at line 944 of file der_evaluator.h.

void der_eval::new_point std::vector< std::vector< double > > &    __der_data,
const variable_indicator   __v
[inline]
 

Definition at line 1024 of file hess_evaluator.h.

void der_eval::new_point std::vector< std::vector< double > > &    __der_data,
const variable_indicator   __v
[inline]
 

Definition at line 974 of file der_evaluator.h.

void der_eval::new_result std::vector< double > &    __grad [inline]
 

Definition at line 1031 of file hess_evaluator.h.

void der_eval::new_result std::vector< double > &    __grad [inline]
 

Definition at line 981 of file der_evaluator.h.

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

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

Definition at line 465 of file evaluator.h.

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

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

Definition at line 456 of file evaluator.h.

virtual void cached_backward_evaluator_base< der_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 der_eval::retrieve_from_cache const expression_node   __data [inline]
 

Definition at line 1111 of file hess_evaluator.h.

void der_eval::retrieve_from_cache const expression_node   __data [inline]
 

Definition at line 1061 of file der_evaluator.h.

void der_eval::set_mult double    scal [inline]
 

Definition at line 1036 of file hess_evaluator.h.

void der_eval::set_mult double    scal [inline]
 

Definition at line 986 of file der_evaluator.h.

virtual walker cached_evaluator_base< der_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 der_eval::short_cut_to const expression_node   __data [inline]
 

Definition at line 1042 of file hess_evaluator.h.

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

Definition at line 992 of file der_evaluator.h.

virtual int cached_backward_evaluator_base< der_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< der_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 der_eval::update const expression_node   __data,
const bool   __rval
[inline]
 

Definition at line 1125 of file hess_evaluator.h.

int der_eval::update const bool   __rval [inline]
 

Definition at line 1118 of file hess_evaluator.h.

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

Definition at line 1075 of file der_evaluator.h.

int der_eval::update const bool   __rval [inline]
 

Definition at line 1068 of file der_evaluator.h.

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

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

Definition at line 471 of file evaluator.h.

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

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

Definition at line 468 of file evaluator.h.

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

Definition at line 470 of file evaluator.h.

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

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

Definition at line 472 of file evaluator.h.


Member Data Documentation

der_eval_type _evaluator_base< der_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< der_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 files:
Generated on Tue Nov 4 01:58:53 2003 for COCONUT API by doxygen1.2.18