Product of two terms. More...
#include <TermProduct.h>


Public Member Functions | |
| Term * | differentiate (TermVariable *variable) throw (ProblemMismatchException) | 
| Determines the partial derivative of the term.   | |
| bool | less (const Term *term) const | 
| Compares this term to an other term.   | |
| std::string | toString () const | 
| Convert term to string.   | |
Static Public Member Functions | |
| static Term * | create (Problem *problem, Term *factor1, Term *factor2) | 
| Creates a product term.   | |
Protected Member Functions | |
| double | eval (const DoubleVector *variableValues, TermValueSet *termValues) | 
| Evaluates term.   | |
| TermProduct (Problem *problem, Term *factor1, Term *factor2) | |
| Creates product.   | |
| virtual | ~TermProduct () | 
| Destroys product.  | |
  Protected Member Functions inherited from TermBinary | |
| TermBinary (Problem *problem) | |
| Creates a binary term.   | |
| virtual | ~TermBinary () | 
| Destroys a binary 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 | 
Product of two terms.
Definition at line 27 of file TermProduct.h.
Creates product.
| problem | problem to which the term belongs | 
| factor1 | first factor | 
| factor2 | second factor | 
Definition at line 33 of file TermProduct.cc.


Creates a product term.
| problem | problem to which the term belongs | 
| factor1 | first factor | 
| factor2 | second factor | 
Definition at line 58 of file TermProduct.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 91 of file TermProduct.cc.

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

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

      
  | 
  virtual | 
Convert term to string.
Reimplemented from Term.
Definition at line 134 of file TermProduct.cc.
 1.8.1.2