cluster.h
Go to the documentation of this file.
186 throw ClusterStateVectorNotPresent( (QString("The state vector named ") + stateVector + " is not part of this Cluster").toLatin1().data() );
This file contains the common type defitions used on the whole framework.
getStateVectorFuncPtr getDelegateFor(QString stateVector)
Return the pointer to function for retrieving the DoubleVector representing the state requested...
Definition: cluster.h:182
Thrown when a user attempt to get a delegate for a state vector that does not exists.
Definition: nnfwexceptions.h:805
FARSA_UTIL_TEMPLATE const T max(const T &t1, const U &t2)
void setDelegateFor(QString vectorName)
Configure a delegate for a specifing state vector; who implements subclasses of Cluster has to specif...
Definition: cluster.h:204
This file contains the declaration of the abstract OutputFunction Class.
bool isAccumulate() const
return true if the Cluster will accumulates inputs
Definition: cluster.h:97
FARSA_UTIL_TEMPLATE const T min(const T &t1, const U &t2)
unsigned int numNeurons() const
Return the number of neurons (the length of input and output arrays)
Definition: cluster.h:82
void setNeedReset(bool b)
Set the state of 'needReset' Used by subclasses into update implementation.
Definition: cluster.h:210
void setAccumulate(bool mode)
Enable/Disable accumulation mode If accumulation is enabled (true) then linkers attached to this Clu...
Definition: cluster.h:93