NormLinker Class. More...

Inheritance diagram for NormLinker:

Public Member Functions

 NormLinker (Cluster *from, Cluster *to, QString name="unnamed")
 Connect clusters with a complete connections.
 
 NormLinker (ConfigurationParameters &params, QString prefix)
 Constructor.
 
virtual ~NormLinker ()
 Destructor.
 
virtual void save (ConfigurationParameters &params, QString prefix)
 Save the actual status of parameters into the ConfigurationParameters object passed.
 
void update ()
 Performs the euclidean norm calculation.
 
- Public Member Functions inherited from MatrixLinker
 MatrixLinker (Cluster *from, Cluster *to, QString name="unnamed")
 Connect clusters with a complete connections By default it create a fully-connected matrix, use one of the following methods for choose a different way: connect, connectRandom, disconnect, disconnectRandom.
 
 MatrixLinker (ConfigurationParameters &params, QString prefix)
 Constructor.
 
virtual ~MatrixLinker ()
 Destructor.
 
unsigned int cols ()
 Get the number of cols.
 
void connect (unsigned int from, unsigned int to)
 Connect two neurons.
 
void connectAll ()
 Connect all couples of neurons.
 
void connectRandom (double prob, bool zeroDiagonal=false, bool symmetric=false)
 Connect neurons of Clusters with a random connections with the passed probability.
 
void disconnect (unsigned int from, unsigned int to)
 Disconnect the two neurons.
 
void disconnectAll ()
 Disonnect all couples of neurons.
 
DoubleMatrixmatrix ()
 Return the weight matrix.
 
DoubleMatrix matrix () const
 const version of matrix() method
 
virtual void randomize (double min, double max)
 Randomize the weights of the MatrixLinker.
 
unsigned int rows ()
 Get the number of rows.
 
virtual void setWeight (unsigned int from, unsigned int to, double weight)
 Set the weight of the connection specified.
 
unsigned int size () const
 Returns the total number of the links: rows*cols.
 
virtual double weight (unsigned int from, unsigned int to)
 Get the weight of the connection specified.
 
- Public Member Functions inherited from Linker
 Linker (Cluster *from, Cluster *to, QString name="unnamed")
 Construct.
 
 Linker (ConfigurationParameters &params, QString prefix)
 Constructor.
 
void configureFromVector (QString vectorName)
 Configure on which state vector of 'from' Cluster this Linker is attached to.
 
void configureToVector (QString vectorName)
 Configure on which state vector of 'to' Cluster this Linker is attached to.
 
Clusterfrom () const
 Return the Cluster From.
 
Clusterto () const
 Return the Cluster to.
 
- Public Member Functions inherited from Updatable
 Updatable (QString name="unnamed")
 Constructor.
 
 Updatable (ConfigurationParameters &params, QString prefix)
 Constructor.
 
virtual ~Updatable ()
 Destructor.
 
QString name () const
 Return its name.
 
void setName (QString newname)
 Set the name of Updatable.
 
- Public Member Functions inherited from ParameterSettableInConstructor
 ParameterSettableInConstructor (ConfigurationParameters &, QString)
 
void addObserver (RuntimeParameterObserver *obs)
 
getRuntimeParameter (QString paramName)
 
virtual ParameterSettableUIgetUIManager ()
 
 ParameterSettable ()
 
virtual void postConfigureInitialization ()
 
void removeObserver (RuntimeParameterObserver *obs)
 
void setRuntimeParameter (QString paramName, T newvalue)
 
QString typeName () const
 
- Public Member Functions inherited from ParameterSettable
void addObserver (RuntimeParameterObserver *obs)
 
getRuntimeParameter (QString paramName)
 
void removeObserver (RuntimeParameterObserver *obs)
 
void setRuntimeParameter (QString paramName, T newvalue)
 
QString typeName () const
 

Protected Attributes

DoubleVector temp
 

Additional Inherited Members

- Public Types inherited from ParameterSettableInConstructor
enum  Property
 
- Static Public Member Functions inherited from Linker
static void describe (QString type)
 Add to Factory::typeDescriptions() the descriptions of all parameters and subgroups.
 
- Public Attributes inherited from ParameterSettableInConstructor
 AllowMultiple
 
 Default
 
 IsList
 
 IsMandatory
 
- Static Public Attributes inherited from ParameterSettableInConstructor
static const double Infinity
 
static const int MaxInteger
 
static const int MinInteger
 
- Protected Member Functions inherited from Linker
DoubleVectorfromVector () const
 Return a reference to the DoubleVector of 'from' on which this is attached to.
 
DoubleVectortoVector () const
 Return a reference to the DoubleVector of 'to' on which this is attached to.
 
- Static Protected Member Functions inherited from ParameterSettableInConstructor
static Descriptor addTypeDescription (QString type, QString shortHelp, QString longHelp=QString(""))
 
static void setGraphicalEditor (QString type)
 

Detailed Description

NormLinker Class.

Definition at line 34 of file normlinker.h.

Constructor & Destructor Documentation

NormLinker ( Cluster from,
Cluster to,
QString  name = "unnamed" 
)

Connect clusters with a complete connections.

Definition at line 25 of file normlinker.cpp.

NormLinker ( ConfigurationParameters params,
QString  prefix 
)

Constructor.

Definition at line 29 of file normlinker.cpp.

~NormLinker ( )
virtual

Destructor.

Definition at line 34 of file normlinker.cpp.

Member Function Documentation

void save ( ConfigurationParameters params,
QString  prefix 
)
virtual

Save the actual status of parameters into the ConfigurationParameters object passed.

Parameters
paramsthe configuration parameters object on which save actual parameters
prefixthe prefix to use to access the object configuration parameters.

Reimplemented from MatrixLinker.

Definition at line 52 of file normlinker.cpp.

References MatrixLinker::save(), and ConfigurationParameters::startObjectParameters().


The documentation for this class was generated from the following files: