VectorRule implements a vector of Functions with a current index.
More...
#include <VectorRule.h>
|
| VectorRule (Composite *policy=0) |
| Default constructor.
|
| VectorRule (const VectorRule &v) |
| Copy constructor.
|
VectorRule & | operator= (const VectorRule ©) |
| Assignment operator.
|
| ~VectorRule () |
| Destructor.
|
void | push_back (T *model) |
| Add an element to the array.
|
void | assign (T *model) |
| Assign the current element of the array.
|
void | erase (unsigned index) |
| Erase an element from the array.
|
T * | get_current () |
| Get the current element of the array.
|
Project< T > & | get_projection () |
| Get the projection of the current element of the array.
|
unsigned | size () const |
| Get the size of the array.
|
void | set_index (unsigned index) |
| Set the current element of the array.
|
unsigned | get_index () const |
| Get the current element of the array.
|
std::string | get_name () const |
| Return the name of the class.
|
|
void | calculate (Result &result, std::vector< Result > *grad) |
| Return the result and its gradient.
|
template<class T>
class MEAL::VectorRule< T >
VectorRule implements a vector of Functions with a current index.
The documentation for this class was generated from the following files: