20 #ifndef MATRIXLINKER_H
21 #define MATRIXLINKER_H
59 unsigned int size()
const;
61 virtual void randomize(
double min,
double max );
63 virtual void setWeight(
unsigned int from,
unsigned int to,
double weight );
65 virtual double weight(
unsigned int from,
unsigned int to );
85 unsigned int nrows, ncols;
This file contains the common type defitions used on the whole framework.
unsigned int rows()
Get the number of rows.
const DoubleMatrix & matrix() const
const version of matrix() method
FARSA_UTIL_TEMPLATE const T max(const T &t1, const U &t2)
unsigned int cols()
Get the number of cols.
This file contains the declaration of the linkers implemented.
MatrixLinker Class define a full connection between two cluster.
Define the common interface among Clusters.
DoubleMatrix & matrix()
Return the weight matrix.
FARSA_UTIL_TEMPLATE const T min(const T &t1, const U &t2)