Inheritance diagram for WinnerTakeAllFunction:


Constructors | |
| WinnerTakeAllFunction (Real value=1.0) | |
| WinnerTakeAllFunction (PropertySettings &prop) | |
| virtual | ~WinnerTakeAllFunction () |
Interface | |
| bool | setValue (const Variant &v) |
| Variant | value () |
| virtual void | apply (RealVec &inputs, RealVec &outputs) |
| virtual WinnerTakeAllFunction * | clone () const |
| Properties | ||||
| Name | Type [isVector] | Access mode | Description | Class |
|---|---|---|---|---|
| typename | string | read-only | Class's type | Propertized |
| value | Real | read/write | value of the output of winner | this |
| WinnerTakeAllFunction | ( | Real | value = 1.0 |
) |
Construct
| WinnerTakeAllFunction | ( | PropertySettings & | prop | ) |
Construct
| virtual ~WinnerTakeAllFunction | ( | ) | [inline, virtual] |
Destructor
| bool setValue | ( | const Variant & | v | ) |
Set the value
| Variant value | ( | ) |
Return the value
Implement the Sawtooth function
Reimplemented from OutputFunction.
| virtual WinnerTakeAllFunction* clone | ( | ) | const [virtual] |
Clone this object
Reimplemented from OutputFunction.