Inheritance diagram for CompositeFunction:


Constructors | |
| CompositeFunction (const OutputFunction &f, const OutputFunction &g) | |
| CompositeFunction (PropertySettings &prop) | |
| virtual | ~CompositeFunction () |
Interface | |
| bool | setFirstFunction (const Variant &v) |
| Variant | getFirstFunction () |
| bool | setSecondFunction (const Variant &v) |
| Variant | getSecondFunction () |
| virtual void | apply (RealVec &inputs, RealVec &outputs) |
| virtual CompositeFunction * | clone () const |
| virtual void | setCluster (Cluster *) |
| Properties | ||||
| Name | Type [isVector] | Access mode | Description | Class |
|---|---|---|---|---|
| typename | string | read-only | Class's type | Propertized |
| first | OutputFunction | read/write | first function | this |
| second | OutputFunction | read/write | second function | this |
| CompositeFunction | ( | const OutputFunction & | f, | |
| const OutputFunction & | g | |||
| ) |
Construct a Composite
| CompositeFunction | ( | PropertySettings & | prop | ) |
Construct from PropertySettings
| virtual ~CompositeFunction | ( | ) | [virtual] |
Destructor
| bool setFirstFunction | ( | const Variant & | v | ) |
Set the first function of CompositeFunction
| Variant getFirstFunction | ( | ) |
Return the first function of CompositeFunction
| bool setSecondFunction | ( | const Variant & | v | ) |
Set the second function of CompositeFunction
| Variant getSecondFunction | ( | ) |
Return the second function of CompositeFunction
Implement the updating method
it computes: y(t) <- second( first( input, mid ), outputs )
where mid is a private vector that traces the outputs of first function
Reimplemented from OutputFunction.
| virtual CompositeFunction* clone | ( | ) | const [virtual] |
Clone this object
Reimplemented from OutputFunction.
| virtual void setCluster | ( | Cluster * | ) | [virtual] |
recursive call setCluster on first and second function setted
Reimplemented from OutputFunction.