class
ConcreteFun
: public AbstractFun
(Return to index)
Concrete class class for a single matching constraints or for an array
of matching constraints.
Type: |
Instantiable |
Superclasses: |
public AbstractFun |
Include file: |
./Match/ConcreteFun.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
-
ConcreteFun
(Attribute&,int,Attribute&,Attribute&)
;
-
virtual ~ConcreteFun
()
;
-
virtual int countConstraints
()const
;
-
virtual void evaluate
(Vector<double>&,int&)const
;
-
virtual void print
(std::ostream&)const
;
Documentation:
- Public members:
-
ConcreteFun
(Attribute&,int,Attribute&,Attribute&)
;
- Constructor.
Uses the following arguments:
- The left-hand side(s) for the constraint.
- A code for the type of constraint.
- The right-hand side(s) for the constraint.
- The weight(s) for the constraint.
-
virtual int countConstraints
()const
;
- Get the number of constrained values.
-
virtual void evaluate
(Vector<double>&,int&)const
;
- Evaluate the matching function(s).
Increment n for each constrained value and store the value
in vector f.
-
virtual void print
(std::ostream&)const
;
- Print the function name and value(s).
Documentation generated by fci on Mon Feb 7 12:29:48 2000