Term depending on two other terms. More...
#include <TermBinary.h>


Protected Member Functions | |
| TermBinary (Problem *problem) | |
| Creates a binary term. | |
| virtual | ~TermBinary () |
| Destroys a binary term. | |
Protected Member Functions inherited from Term | |
| virtual double | eval (const DoubleVector *variableValues, TermValueSet *termValues) |
| Evaluates term. | |
| void | setTermIndex (const int termIndex) |
| Set term index. | |
| Term (Problem *problem) | |
| Creates a term. | |
| virtual | ~Term () |
| Destroys a term. | |
Additional Inherited Members | |
Public Member Functions inherited from Term | |
| virtual Term * | differentiate (TermVariable *variable) throw (ProblemMismatchException) |
| Determines the partial derivative of the term. | |
| double | evaluate (const DoubleVector *variableValues) |
| Evaluates term. | |
| double | evaluate (const DoubleVector *variableValues, TermValueSet *termValues) |
| Evaluates term. | |
| virtual Problem * | getProblem () const |
| Returns the problem to which the term belongs. | |
| const int | getTermIndex () |
| Get term index. | |
| virtual bool | less (const Term *term) const |
| Compares this term to an other term. | |
| virtual std::string | toString () const |
| Convert term to string. | |
Static Public Attributes inherited from Term | |
| static const int | INVALID_INDEX = -1 |
Term depending on two other terms.
Definition at line 27 of file TermBinary.h.
|
protected |
Creates a binary term.
| problem | problem to which the term belongs |
Definition at line 25 of file TermBinary.cc.
1.8.1.2