Converts an evaluable model to one of another type. More...

#include <Cast.h>

Inherits To.

Public Types

typedef To::Result Result
 

Public Member Functions

 Cast (From *_from)
 Default constructor.
 
std::string get_name () const
 

Protected Member Functions

void calculate (Result &result, std::vector< Result > *gradient)
 Convert.
 

Protected Attributes

Reference::To< From > from
 The model to be cast to a different type.
 

Detailed Description

template<class To, class From>
class MEAL::Cast< To, From >

Converts an evaluable model to one of another type.


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

Generated using doxygen 1.8.17