#include <SGNGAlgorithm.hpp>
Inheritance diagram for SGNGAlgorithm:
Public Member Functions | |
SGNGAlgorithm (unsigned int MSEBackLog) | |
Constructs a GNG Algorithm object. | |
void | SetSquaredError (double d) |
Sets the squared error received from the RBF network. | |
Protected Member Functions | |
virtual void | UpdateError (GNGNode &s) |
Updates the local error of a node with the current squared error from the RBF net. | |
virtual void | PurgeEdges () |
Removes edges that are too old. | |
virtual void | MoveWinner (GNGNode &s) |
Moves the winner node s towards the current input vector by a factor of paramMoveWinner. | |
virtual void | MoveNeighbor (GNGNode &s) |
Moves a neighbor node s towards the input vector by a factor of paramMoveNeighbor. | |
virtual double | CalculateMeanDistance (GNGNode &s) |
Calculated the mean distance to all neigbours of node s. | |
Protected Attributes | |
double | m_squaredError |
It is directly derived from GNGAlgorithm.
|
Constructs a GNG Algorithm object.
|
|
Sets the squared error received from the RBF network.
|
|
Updates the local error of a node with the current squared error from the RBF net.
Reimplemented from GNGAlgorithm. |
|
Removes edges that are too old. and updates the widths of the nodes that shared an edges. Reimplemented from GNGAlgorithm. |
|
Moves the winner node s towards the current input vector by a factor of paramMoveWinner. Since the nodes have been moved, the mean distance to all neighbours must be updated. To change the behaviour of winner movment, overload this method.
Reimplemented from GNGAlgorithm. |
|
Moves a neighbor node s towards the input vector by a factor of paramMoveNeighbor. To change the behaviour of neighbor movment, overload this method. Since the nodes have been moved, the mean distance to all neighbours must be updated.
Reimplemented from GNGAlgorithm. |
|
Calculated the mean distance to all neigbours of node s.
|
|
|