#include <GNGNode.hpp>
Inheritance diagram for GNGNode:
Public Member Functions | |
GNGNode () | |
virtual | ~GNGNode () |
virtual void | SetReferenceVector (Vector const &referenceVector) |
Sets the Reference Vector of the node. | |
virtual Vector & | GetReferenceVector () |
Gets a non-const reference to the Reference Vector. | |
virtual Vector const & | GetReferenceVector () const |
Gets a const reference to the Reference Vector. | |
virtual void | SetAccumulatedError (double d) |
Sets the accumulated error of the node. | |
virtual double | GetAccumulatedError () const |
Gets the accumulated error of the node. | |
virtual void | SetUtility (double d) |
Sets the utility (used by GNG-U) of the node. | |
virtual double | GetUtility () const |
Gets the utility of the node. | |
virtual void | AddEdge (GNGEdge &edge) |
Registers a reference to a GNGEdge with this node. | |
virtual void | RemoveEdge (GNGEdge const &edge) |
Unregisters the reference to a GNGEdge with this node. | |
virtual GNGEdge * | GetEdgeTo (GNGNode const &node) |
Gets a pointer to an Edge if this node is connected to . | |
virtual EdgeContainer const & | GetEdges () const |
Gets a constant reference to the Edges of this node. | |
virtual EdgeContainer & | GetEdges () |
Gets a reference to the Edges of this node. | |
Protected Attributes | |
Vector | m_referenceVector |
EdgeContainer | m_edges |
double | m_accumulatedError |
double | m_utility |
( and a utility ) GNGNode does not assume ownership of the memory reserved by the edges it contains.
|
|
|
|
|
Sets the Reference Vector of the node.
|
|
Gets a non-const reference to the Reference Vector.
|
|
Gets a const reference to the Reference Vector.
|
|
Sets the accumulated error of the node.
|
|
Gets the accumulated error of the node.
|
|
Sets the utility (used by GNG-U) of the node.
|
|
Gets the utility of the node.
|
|
Registers a reference to a GNGEdge with this node.
|
|
Unregisters the reference to a GNGEdge with this node.
|
|
Gets a pointer to an Edge if this node is connected to .
|
|
Gets a constant reference to the Edges of this node.
|
|
Gets a reference to the Edges of this node.
|
|
|
|
|
|
|
|
|