#include <init.h>
Simply derive from this class if you want to add a new init algorithm.
Public Member Functions | |
InitBase (ESN< T > *esn) | |
virtual | ~InitBase () |
virtual void | init ()=0 throw (AUExcept) |
Protected Member Functions | |
class InitBase Implementation | |
virtual void | checkInitParams () throw (AUExcept) |
virtual void | allocateWorkData () |
Protected Attributes | |
ESN< T > * | esn_ |
aureservoir::InitBase< T >::InitBase | ( | ESN< T > * | esn | ) | [inline] |
Constructor.
virtual aureservoir::InitBase< T >::~InitBase | ( | ) | [inline, virtual] |
Destructor.
virtual void aureservoir::InitBase< T >::init | ( | ) | throw (AUExcept) [pure virtual] |
void aureservoir::InitBase< T >::checkInitParams | ( | ) | throw (AUExcept) [inline, protected, virtual] |
checks if the init parameters have the right values
void aureservoir::InitBase< T >::allocateWorkData | ( | ) | [inline, protected, virtual] |
allocates working data for algorithms
ESN<T>* aureservoir::InitBase< T >::esn_ [protected] |
reference to the data of the network