MEAL::NotCached< T > Class Template Reference

An evaluation policy that does not cache calculations. More...

#include <NotCached.h>

Inheritance diagram for MEAL::NotCached< T >:
MEAL::CalculatePolicy< T > MEAL::EvaluationPolicy< T::Result > MEAL::FunctionPolicy Reference::Able Reference::HeapTracked

Public Types

typedef T::Result Result

Public Member Functions

 NotCached (T *context)
Result evaluate (std::vector< Result > *grad) const
 Implement the evaluate method of the Function.
std::string class_name () const
 Return the name of the class for debugging.
Public Member Functions inherited from MEAL::CalculatePolicy< T >
 CalculatePolicy (T *context)
 Default destructor.
void calculate (Result &r, std::vector< Result > *grad) const
Public Member Functions inherited from MEAL::EvaluationPolicy< T::Result >
 EvaluationPolicy (Function *context)
 Default destructor.
virtual Result evaluate (std::vector< Result > *grad=0) const=0
 Return the result (and its gradient, if requested)
Public Member Functions inherited from MEAL::FunctionPolicy
 FunctionPolicy (Function *context=0)
 Default constructor.
 ~FunctionPolicy ()
 Destructor.
Functionget_context () const
 Return the Function for whom this policy operates.
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Ableoperator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTrackedoperator= (const HeapTracked &)
bool __is_on_heap () const

Additional Inherited Members

Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
static void operator delete (void *location, void *ptr)
static void operator delete (void *location)
static size_t get_heap_queue_size ()
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const
Protected Attributes inherited from MEAL::CalculatePolicy< T >
T * calculate_context
 The object that implements a calculate method.

Detailed Description

template<class T>
class MEAL::NotCached< T >

An evaluation policy that does not cache calculations.

This policy always calls the context T::calculate method


The documentation for this class was generated from the following file:

Generated using doxygen 1.14.0