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

func_h_eval Class Reference

#include <hess_evaluator.h>

Inheritance diagram for func_h_eval:

Inheritance graph
[legend]
Collaboration diagram for func_h_eval:

Collaboration graph
[legend]
List of all members.

Public Types

typedef cached_evaluator_base<
func_h_eval_type, expression_node,
func_h_eval_ret, model::walker
>::node_data_type 
node_data_type
typedef cached_evaluator_base<
func_h_eval_type, expression_node,
func_h_eval_ret, model::walker
>::return_value 
return_value
typedef cached_evaluator_base<
func_h_eval_type, expression_node,
func_h_eval_ret, model::walker
>::walker 
walker
typedef func_h_eval_type data_type

Public Methods

 func_h_eval (const std::vector< double > &__x, const variable_indicator &__v, const model &__m, std::vector< std::vector< double > > &__d, std::vector< matrix< double > > &__h, std::vector< unsigned int > &__t, std::vector< bool > &__b, std::vector< double > *__c)
 func_h_eval (const func_h_eval &__x)
 ~func_h_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 func_h_eval_ret &__rval)
int update (const expression_node &__data, const func_h_eval_ret &__rval)
func_h_eval_ret 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_h_eval_type eval_data

Member Typedef Documentation

typedef func_h_eval_type _evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >::data_type [inherited]
 

Definition at line 245 of file evaluator.h.

typedef cached_evaluator_base<func_h_eval_type, expression_node, func_h_eval_ret,model::walker>::node_data_type cached_forward_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >::node_data_type [inherited]
 

Reimplemented from cached_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >.

Definition at line 396 of file evaluator.h.

typedef cached_evaluator_base<func_h_eval_type, expression_node, func_h_eval_ret,model::walker>::return_value cached_forward_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >::return_value [inherited]
 

Reimplemented from cached_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >.

Definition at line 398 of file evaluator.h.

typedef cached_evaluator_base<func_h_eval_type, expression_node, func_h_eval_ret,model::walker>::walker cached_forward_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >::walker [inherited]
 

Reimplemented from cached_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >.

Definition at line 400 of file evaluator.h.


Constructor & Destructor Documentation

func_h_eval::func_h_eval const std::vector< double > &    __x,
const variable_indicator   __v,
const model   __m,
std::vector< std::vector< double > > &    __d,
std::vector< matrix< double > > &    __h,
std::vector< unsigned int > &    __t,
std::vector< bool > &    __b,
std::vector< double > *    __c
[inline]
 

Definition at line 214 of file hess_evaluator.h.

func_h_eval::func_h_eval const func_h_eval &    __x [inline]
 

Definition at line 233 of file hess_evaluator.h.

func_h_eval::~func_h_eval   [inline]
 

Definition at line 235 of file hess_evaluator.h.


Member Function Documentation

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

Definition at line 430 of file evaluator.h.

void func_h_eval::calculate const expression_node   __data [inline]
 

Definition at line 310 of file hess_evaluator.h.

func_h_eval_ret func_h_eval::calculate_value bool    eval_all [inline, virtual]
 

Reimplemented from cached_forward_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >.

Definition at line 968 of file hess_evaluator.h.

virtual void cached_forward_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, 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_h_eval_type, expression_node, func_h_eval_ret, model::walker >::collect const node_data_type   __data,
const return_value   __rval
[inline, virtual, inherited]
 

Reimplemented from _evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >.

Definition at line 419 of file evaluator.h.

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

Definition at line 429 of file evaluator.h.

int func_h_eval::initialize const expression_node   __data [inline]
 

Definition at line 248 of file hess_evaluator.h.

void func_h_eval::initialize   [inline, virtual]
 

Reimplemented from cached_forward_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >.

Definition at line 246 of file hess_evaluator.h.

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

Reimplemented from cached_forward_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >.

Definition at line 144 of file hess_evaluator.h.

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

Definition at line 240 of file hess_evaluator.h.

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

Reimplemented from _evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >.

Definition at line 417 of file evaluator.h.

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

Reimplemented from cached_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >.

Definition at line 408 of file evaluator.h.

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

Definition at line 431 of file evaluator.h.

void func_h_eval::retrieve_from_cache const expression_node   __data [inline]
 

Definition at line 326 of file hess_evaluator.h.

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

Definition at line 303 of file evaluator.h.

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

Definition at line 237 of file hess_evaluator.h.

virtual int cached_forward_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, 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_h_eval_type, expression_node, func_h_eval_ret, 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_h_eval::update const expression_node   __data,
const func_h_eval_ret   __rval
[inline]
 

Definition at line 363 of file hess_evaluator.h.

int func_h_eval::update const func_h_eval_ret   __rval [inline]
 

Definition at line 355 of file hess_evaluator.h.

return_value cached_forward_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >::value   [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >.

Definition at line 423 of file evaluator.h.

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

Reimplemented from _evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >.

Definition at line 421 of file evaluator.h.

void cached_forward_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >::vinit   [inline, inherited]
 

Definition at line 425 of file evaluator.h.

return_value cached_forward_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >::vvalue   [inline, virtual, inherited]
 

Reimplemented from _evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >.

Definition at line 424 of file evaluator.h.


Member Data Documentation

func_h_eval_type _evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, model::walker >::eval_data [protected, inherited]
 

Definition at line 252 of file evaluator.h.

const variable_indicator* cached_evaluator_base< func_h_eval_type, expression_node, func_h_eval_ret, 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:03 2003 for COCONUT API by doxygen1.2.18