|
| ForwardResult (T *context, T *function) |
| Default constructor.
|
Result | evaluate (std::vector< Result > *gradient=0) const |
| Calls to context->evaluate are forwarded to evaluator.
|
std::string | class_name () const |
| Return the name of the class for debugging.
|
| CalculatePolicy (T *context) |
| Default destructor.
|
void | calculate (Result &r, std::vector< Result > *grad) const |
| EvaluationPolicy (Function *context) |
| Default destructor.
|
virtual Result | evaluate (std::vector< Result > *grad=0) const=0 |
| Return the result (and its gradient, if requested)
|
| FunctionPolicy (Function *context=0) |
| Default constructor.
|
| ~FunctionPolicy () |
| Destructor.
|
Function * | get_context () const |
| Return the Function for whom this policy operates.
|
| Able (const Able &) |
Able & | operator= (const Able &) |
unsigned | get_reference_count () const |
| HeapTracked (const HeapTracked &) |
HeapTracked & | operator= (const HeapTracked &) |
bool | __is_on_heap () const |
template<class T>
class MEAL::ForwardResult< T >
This evaluation policy forwards the result of another function.