matrixlinker.cpp
FARSA_UTIL_API RandomGenerator * globalRNG
unsigned int size() const
Returns the total number of the links: rows*cols.
Definition: matrixlinker.cpp:66
FARSA_UTIL_TEMPLATE const T max(const T &t1, const U &t2)
virtual void save(ConfigurationParameters ¶ms, QString prefix)
Save the actual status of parameters into the ConfigurationParameters object passed.
Definition: linker.cpp:58
virtual double weight(unsigned int from, unsigned int to)
Get the weight of the connection specified.
Definition: matrixlinker.cpp:82
bool startObjectParameters(QString groupPath, QString typeName, ParameterSettable *object)
QString getValue(QString path, bool alsoMatchParents=false) const
virtual void randomize(double min, double max)
Randomize the weights of the MatrixLinker.
Definition: matrixlinker.cpp:70
FARSA_UTIL_TEMPLATE const T min(const T &t1, const U &t2)
virtual void setWeight(unsigned int from, unsigned int to, double weight)
Set the weight of the connection specified.
Definition: matrixlinker.cpp:78
MatrixLinker(Cluster *from, Cluster *to, QString name="unnamed")
Connect clusters with a complete connections By default it create a fully-connected matrix...
Definition: matrixlinker.cpp:27
double getDouble(double min, double max)
virtual void save(ConfigurationParameters ¶ms, QString prefix)
Save the actual status of parameters into the ConfigurationParameters object passed.
Definition: matrixlinker.cpp:86
void createParameter(QString groupPath, QString parameter)