Sign of a term. More...
#include <TermSign.h>


Public Member Functions | |
| Term * | differentiate (TermVariable *variable) throw (ProblemMismatchException) |
| Determines the partial derivative of the term. | |
| double | evaluate () |
| bool | less (const Term *term) const |
| Compares this term to an other term. | |
| std::string | toString () const |
| Convert term to string. | |
Public Member Functions inherited from 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. | |
Static Public Member Functions | |
| static TermSign * | create (Problem *problem, Term *term) throw (ProblemMismatchException) |
| Creates term. | |
Protected Member Functions | |
| double | eval (const DoubleVector *variableValues, TermValueSet *termValues) |
| Evaluates term. | |
| TermSign (Problem *problem, Term *term) | |
| Creates sign term. | |
| virtual | ~TermSign () |
| Destroys term. | |
Protected Member Functions inherited from Term | |
| void | setTermIndex (const int termIndex) |
| Set term index. | |
| Term (Problem *problem) | |
| Creates a term. | |
| virtual | ~Term () |
| Destroys a term. | |
Additional Inherited Members | |
Static Public Attributes inherited from Term | |
| static const int | INVALID_INDEX = -1 |
Sign of a term.
Definition at line 27 of file TermSign.h.
|
static |
Creates term.
| problem | problem |
| value | value |
Definition at line 46 of file TermSign.cc.

|
virtual |
Determines the partial derivative of the term.
| variable | variable with respect to which the derivative shall be calculated |
Reimplemented from Term.
Definition at line 53 of file TermSign.cc.

|
protectedvirtual |
Evaluates term.
| variableValues | values of the variables |
| termValues | values of the terms |
Reimplemented from Term.
Definition at line 58 of file TermSign.cc.

|
virtual |
Compares this term to an other term.
| term | term to compare this term with |
Reimplemented from Term.
Definition at line 71 of file TermSign.cc.

|
virtual |
Convert term to string.
Reimplemented from Term.
Definition at line 83 of file TermSign.cc.

1.8.1.2