|
OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
A single matching constraints or an array of matching constraints. More...
#include <ConcreteFun.h>


Public Member Functions | |
| ConcreteFun (Attribute &lhs, int rel, Attribute &rhs, Attribute &wgt) | |
| Constructor. More... | |
| virtual | ~ConcreteFun () |
| virtual int | countConstraints () const |
| Get the number of constrained values. More... | |
| virtual void | evaluate (Vector< double > &f, int &) const |
| Evaluate the matching function(s). More... | |
| virtual void | print (std::ostream &) const |
| Print the function name and value(s). More... | |
Public Member Functions inherited from AbstractFun | |
| AbstractFun () | |
| virtual | ~AbstractFun () |
Private Member Functions | |
| ConcreteFun () | |
| ConcreteFun (const ConcreteFun &) | |
| void | operator= (const ConcreteFun &) |
Private Attributes | |
| Attribute | itsLhs |
| Attribute | itsRhs |
| int | relation |
| std::vector< double > | itsWeight |
| std::vector< double > | lValue |
| std::vector< double > | rValue |
| std::vector< double > | value |
A single matching constraints or an array of matching constraints.
Definition at line 32 of file ConcreteFun.h.
Constructor.
Definition at line 35 of file ConcreteFun.cpp.
|
virtual |
Definition at line 43 of file ConcreteFun.cpp.
|
private |
|
private |
|
virtual |
Get the number of constrained values.
Implements AbstractFun.
Definition at line 47 of file ConcreteFun.cpp.
References itsWeight.
|
virtual |
Evaluate the matching function(s).
Implements AbstractFun.
Definition at line 52 of file ConcreteFun.cpp.
References Attributes::getRealArray(), itsLhs, itsRhs, itsWeight, lValue, relation, rValue, and value.

|
private |
|
virtual |
Print the function name and value(s).
Implements AbstractFun.
Definition at line 86 of file ConcreteFun.cpp.
References endl(), itsLhs, itsRhs, itsWeight, lValue, Inform::precision(), relation, rValue, Inform::setf(), and value.

|
private |
Definition at line 67 of file ConcreteFun.h.
Referenced by evaluate(), and print().
|
private |
Definition at line 68 of file ConcreteFun.h.
Referenced by evaluate(), and print().
|
private |
Definition at line 70 of file ConcreteFun.h.
Referenced by countConstraints(), evaluate(), and print().
|
mutableprivate |
Definition at line 73 of file ConcreteFun.h.
Referenced by evaluate(), and print().
|
private |
Definition at line 69 of file ConcreteFun.h.
Referenced by evaluate(), and print().
|
mutableprivate |
Definition at line 74 of file ConcreteFun.h.
Referenced by evaluate(), and print().
|
mutableprivate |
Definition at line 75 of file ConcreteFun.h.
Referenced by evaluate(), and print().
1.8.5