Public Member Functions | Protected Attributes

cart::Function Class Reference

Inheritance diagram for cart::Function:
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 > cart::Xor< T >

List of all members.

Public Member Functions

 Function (uint numArgs)
virtual void evaluate (voidP inputs, void *result)=0
string getName ()
uint getNumOfArgs ()

Protected Attributes

string name_
uint numOfArgs_

Detailed Description

Definition at line 8 of file Function.h.


Member Function Documentation

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 >.


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