Public Member Functions | |
Function (uint numArgs) | |
virtual void | evaluate (voidP inputs, void *result)=0 |
string | getName () |
uint | getNumOfArgs () |
Protected Attributes | |
string | name_ |
uint | numOfArgs_ |
Definition at line 8 of file Function.h.
virtual void cart::Function::evaluate | ( | voidP | inputs, | |
void * | result | |||
) | [pure virtual] |
Evaluate result with given inputs in one of implemented derived classes of Function class.
Implemented in cart::Add< T >, cart::And< T >, cart::Cos< T >, cart::Div< T >, cart::Mul< T >, cart::Not< T >, cart::Or< T >, cart::Sin< T >, cart::Sub< T >, cart::Xnor< T >, and cart::Xor< T >.