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

func_d_eval Class Reference

#include <der_evaluator.h>

Inheritance diagram for func_d_eval:

Inheritance graph
[legend]
Collaboration diagram for func_d_eval:

Collaboration graph
[legend]
List of all members.

Public Types

typedef cached_evaluator_base<
func_d_eval_type, expression_node,
double, model::walker
>::node_data_type 
node_data_type
typedef cached_evaluator_base<
func_d_eval_type, expression_node,
double, model::walker
>::return_value 
return_value
typedef cached_evaluator_base<
func_d_eval_type, expression_node,
double, model::walker
>::walker 
walker
typedef func_d_eval_type data_type

Public Methods

 func_d_eval (const std::vector< double > &__x, const variable_indicator &__v, const model &__m, std::vector< std::vector< double > > &__d, std::vector< double > *__c)
 func_d_eval (const func_d_eval &__x)
 ~func_d_eval ()
model::walker short_cut_to (const expression_node &__data)
void new_point (const std::vector< double > &__x, const variable_indicator &__v)
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 double &__rval)
int update (const expression_node &__data, const double &__rval)
double 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
func_d_eval_type eval_data

Member Typedef Documentation

typedef func_d_eval_type _evaluator_base< func_d_eval_type, expression_node, double, model::walker >::data_type [inherited]
 

Definition at line 245 of file evaluator.h.

typedef cached_evaluator_base<func_d_eval_type, expression_node, double,model::walker>::node_data_type cached_forward_evaluator_base< func_d_eval_type, expression_node, double, model::walker >::node_data_type [inherited]
 

Reimplemented from cached_evaluator_base< func_d_eval_type, expression_node, double, model::walker >.

Definition at line 396 of file evaluator.h.

typedef cached_evaluator_base<func_d_eval_type, expression_node, double,model::walker>::return_value cached_forward_evaluator_base< func_d_eval_type, expression_node, double, model::walker >::return_value [inherited]
 

Reimplemented from cached_evaluator_base< func_d_eval_type, expression_node, double, model::walker >.

Definition at line 398 of file evaluator.h.

typedef cached_evaluator_base<func_d_eval_type, expression_node, double,model::walker>::walker cached_forward_evaluator_base< func_d_eval_type, expression_node, double, model::walker >::walker [inherited]
 

Reimplemented from cached_evaluator_base< func_d_eval_type, expression_node, double, model::walker >.

Definition at line 400 of file evaluator.h.


Constructor & Destructor Documentation

func_d_eval::func_d_eval const std::vector< double > &    __x,
const variable_indicator   __v,
const model   __m,
std::vector< std::vector< double > > &    __d,
std::vector< double > *    __c
[inline]
 

Definition at line 188 of file der_evaluator.h.

func_d_eval::func_d_eval const func_d_eval &    __x [inline]
 

Definition at line 202 of file der_evaluator.h.

func_d_eval::~func_d_eval   [inline]
 

Definition at line 204 of file der_evaluator.h.


Member Function Documentation

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

Definition at line 430 of file evaluator.h.

void func_d_eval::calculate const expression_node   __data [inline]
 

Definition at line 277 of file der_evaluator.h.

double func_d_eval::calculate_value bool    eval_all [inline, virtual]
 

Reimplemented from cached_forward_evaluator_base< func_d_eval_type, expression_node, double, model::walker >.

Definition at line 918 of file der_evaluator.h.

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

Definition at line 432 of file evaluator.h.

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

Reimplemented from _evaluator_base< func_d_eval_type, expression_node, double, model::walker >.

Definition at line 419 of file evaluator.h.

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

Definition at line 429 of file evaluator.h.

int func_d_eval::initialize const expression_node   __data [inline]
 

Definition at line 217 of file der_evaluator.h.

void func_d_eval::initialize   [inline, virtual]
 

Reimplemented from cached_forward_evaluator_base< func_d_eval_type, expression_node, double, model::walker >.

Definition at line 215 of file der_evaluator.h.

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

Reimplemented from cached_forward_evaluator_base< func_d_eval_type, expression_node, double, model::walker >.

Definition at line 118 of file der_evaluator.h.

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

Definition at line 209 of file der_evaluator.h.

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

Reimplemented from _evaluator_base< func_d_eval_type, expression_node, double, model::walker >.

Definition at line 417 of file evaluator.h.

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

Reimplemented from cached_evaluator_base< func_d_eval_type, expression_node, double, model::walker >.

Definition at line 408 of file evaluator.h.

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

Definition at line 431 of file evaluator.h.

void func_d_eval::retrieve_from_cache const expression_node   __data [inline]
 

Definition at line 287 of file der_evaluator.h.

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

Definition at line 303 of file evaluator.h.

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

Definition at line 206 of file der_evaluator.h.

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

Definition at line 435 of file evaluator.h.

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

Definition at line 433 of file evaluator.h.

int func_d_eval::update const expression_node   __data,
const double &    __rval
[inline]
 

Definition at line 320 of file der_evaluator.h.

int func_d_eval::update const double &    __rval [inline]
 

Definition at line 314 of file der_evaluator.h.

return_value cached_forward_evaluator_base< func_d_eval_type, expression_node, double, model::walker >::value   [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< func_d_eval_type, expression_node, double, model::walker >.

Definition at line 423 of file evaluator.h.

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

Reimplemented from _evaluator_base< func_d_eval_type, expression_node, double, model::walker >.

Definition at line 421 of file evaluator.h.

void cached_forward_evaluator_base< func_d_eval_type, expression_node, double, model::walker >::vinit   [inline, inherited]
 

Definition at line 425 of file evaluator.h.

return_value cached_forward_evaluator_base< func_d_eval_type, expression_node, double, model::walker >::vvalue   [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< func_d_eval_type, expression_node, double, model::walker >.

Definition at line 424 of file evaluator.h.


Member Data Documentation

func_d_eval_type _evaluator_base< func_d_eval_type, expression_node, double, model::walker >::eval_data [protected, inherited]
 

Definition at line 252 of file evaluator.h.

const variable_indicator* cached_evaluator_base< func_d_eval_type, expression_node, double, 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:00 2003 for COCONUT API by doxygen1.2.18