#include <DefaultGNGContainer.hpp>
Inheritance diagram for DefaultGNGContainer:
Public Member Functions | |
virtual | ~DefaultGNGContainer () |
virtual void | SetNodeFactory (GNGNodeFactory *f) |
Sets the factory used to create Nodes. | |
virtual EdgeContainer & | GetEdges () |
Returns a reference to the Edges. | |
virtual NodeContainer & | GetNodes () |
Returns a reference to the Nodes. | |
virtual void | DeleteEdge (EdgeContainer::iterator &i) |
Deletes the edge at i from the internal container. | |
virtual void | DeleteEdge (GNGEdge *e) |
Deletes the edge e from the internal container. | |
virtual GNGEdge * | CreateEdge (GNGNode *n1, GNGNode *n2) |
Creates a new edge between n1 and n2, stores it in the internal edge container and returns a pointer to the new edge. | |
virtual GNGNode * | CreateNode () |
Creates a new node, stores it in the internal node container and returns a pointer to the new node. | |
virtual void | DeleteNode (NodeContainer::iterator &i) |
Deletes the node e from the internal container. | |
Protected Attributes | |
EdgeContainer | m_edges |
NodeContainer | m_nodes |
GNGNodeFactory * | m_nodeFactory |
|
|
|
Sets the factory used to create Nodes.
Implements IGNGContainer. |
|
Returns a reference to the Edges.
Implements IGNGContainer. |
|
Returns a reference to the Nodes.
Implements IGNGContainer. |
|
Deletes the edge at i from the internal container.
Implements IGNGContainer. |
|
Deletes the edge e from the internal container.
Implements IGNGContainer. |
|
Creates a new edge between n1 and n2, stores it in the internal edge container and returns a pointer to the new edge.
Implements IGNGContainer. |
|
Creates a new node, stores it in the internal node container and returns a pointer to the new node.
Implements IGNGContainer. Reimplemented in RBFHiddenLayer. |
|
Deletes the node e from the internal container.
Implements IGNGContainer. Reimplemented in RBFHiddenLayer. |
|
|
|
|
|
|