IGNGContainer Class Reference

An Interface that defines a GNGContainer. More...

#include <IGNGContainer.hpp>

Inheritance diagram for IGNGContainer:

DefaultGNGContainer RBFHiddenLayer List of all members.

Public Member Functions

virtual void SetNodeFactory (GNGNodeFactory *f)=0
 Sets the factory used to create Nodes.

virtual EdgeContainerGetEdges ()=0
 Returns a reference to the Edges.

virtual NodeContainerGetNodes ()=0
 Returns a reference to the Nodes.

virtual void DeleteEdge (EdgeContainer::iterator &i)=0
 Deletes the edge at i from the internal container.

virtual void DeleteEdge (GNGEdge *e)=0
 Deletes a given GNGEdge from the container.

virtual GNGEdgeCreateEdge (GNGNode *n1, GNGNode *n2)=0
 A Factory method for creating a GNGEdge between the node n1 and n2.

virtual GNGNodeCreateNode ()=0
 A Factory method for creating a new GNGNode.

virtual void DeleteNode (NodeContainer::iterator &i)=0
 Deletes the node at i from the internal container.


Detailed Description

An Interface that defines a GNGContainer.

IGNGContainer implementations are used by IGNGNodeInserter implementations and IGNGStopCriteria implementations.


Member Function Documentation

virtual void SetNodeFactory GNGNodeFactory f  )  [pure virtual]
 

Sets the factory used to create Nodes.

Parameters:
the node factory

Implemented in DefaultGNGContainer.

virtual EdgeContainer& GetEdges  )  [pure virtual]
 

Returns a reference to the Edges.

Returns:
an EdgeContainer reference.

Implemented in DefaultGNGContainer.

virtual NodeContainer& GetNodes  )  [pure virtual]
 

Returns a reference to the Nodes.

Returns:
an NodeContainer reference.

Implemented in DefaultGNGContainer.

virtual void DeleteEdge EdgeContainer::iterator &  i  )  [pure virtual]
 

Deletes the edge at i from the internal container.

Parameters:
it the iterator positition of the edge to remove.

Implemented in DefaultGNGContainer.

virtual void DeleteEdge GNGEdge e  )  [pure virtual]
 

Deletes a given GNGEdge from the container.

Parameters:
e The GNGEdge to delete from the container.

Implemented in DefaultGNGContainer.

virtual GNGEdge* CreateEdge GNGNode n1,
GNGNode n2
[pure virtual]
 

A Factory method for creating a GNGEdge between the node n1 and n2.

Parameters:
n1 The GNGNode at one end of the new GNGEdge
n2 The GNGNode at the other end of the new GNGEdge
Returns:
The newly created GNGEdge.

Implemented in DefaultGNGContainer.

virtual GNGNode* CreateNode  )  [pure virtual]
 

A Factory method for creating a new GNGNode.

Returns:
The newly created GNGNode.

Implemented in DefaultGNGContainer, and RBFHiddenLayer.

virtual void DeleteNode NodeContainer::iterator &  i  )  [pure virtual]
 

Deletes the node at i from the internal container.

Parameters:
it the iterator positition of the node to remove.

Implemented in DefaultGNGContainer, and RBFHiddenLayer.


Generated on Mon Mar 22 16:40:49 2004 for GNG_GL by doxygen 1.3.6