Definition at line 8 of file Function.h.
◆ Function() [1/2]
cart::Function::Function |
( |
| ) |
|
|
inline |
◆ Function() [2/2]
cart::Function::Function |
( |
uint |
numArgs | ) |
|
|
inline |
◆ ~Function()
virtual cart::Function::~Function |
( |
| ) |
|
|
inlinevirtual |
◆ evaluate()
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 >.
◆ getName()
string cart::Function::getName |
( |
| ) |
|
|
inline |
◆ getNumOfArgs()
uint cart::Function::getNumOfArgs |
( |
| ) |
|
|
inline |
◆ name_
string cart::Function::name_ |
|
protected |
◆ numOfArgs_
uint cart::Function::numOfArgs_ |
|
protected |
The documentation for this class was generated from the following file: