aureservoir::InitBase< T > Class Template Reference

#include <init.h>

Inheritance diagram for aureservoir::InitBase< T >:

Inheritance graph

Detailed Description

template<typename T>
class aureservoir::InitBase< T >

This class is an abstract base class for all different kinds of initialization algorithms. The idea behind this system is that the algorithms can be exchanged at runtime (strategy pattern).

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_

Constructor & Destructor Documentation

template<typename T>
aureservoir::InitBase< T >::InitBase ( ESN< T > *  esn  )  [inline]


template<typename T>
virtual aureservoir::InitBase< T >::~InitBase (  )  [inline, virtual]


Member Function Documentation

template<typename T>
virtual void aureservoir::InitBase< T >::init (  )  throw (AUExcept) [pure virtual]

initialization algorithm

Implemented in aureservoir::InitStd< T >.

template<typename T>
void aureservoir::InitBase< T >::checkInitParams (  )  throw (AUExcept) [inline, protected, virtual]

checks if the init parameters have the right values

template<typename T>
void aureservoir::InitBase< T >::allocateWorkData (  )  [inline, protected, virtual]

allocates working data for algorithms

Field Documentation

template<typename T>
ESN<T>* aureservoir::InitBase< T >::esn_ [protected]

reference to the data of the network

The documentation for this class was generated from the following files:
Generated on Wed Mar 12 21:16:09 2008 for aureservoir by  doxygen 1.5.3