IGNGNodeInserter Class Reference

An Interface that defines how GNGAlgorithm uses an IGNGNodeInserter implementation. More...

#include <IGNGNodeInserter.hpp>

Inheritance diagram for IGNGNodeInserter:

DefaultNodeInserter SGNGNodeInserter List of all members.

Public Member Functions

virtual bool IsInsertCriteriaMet ()=0
virtual void InsertNewNode ()=0
 This method is called to insert a new node.

virtual void SetGNGContainer (IGNGContainer *c)=0
 This method is used to register a GNGContainer object with the IGNGNodeInserter implementation.


Detailed Description

An Interface that defines how GNGAlgorithm uses an IGNGNodeInserter implementation.

GNGAlgorithm uses an IGNGNodeInserter implementation when insertions of new nodes are made. Implementations define how and where insertions of new nodes are made. The insertions are made into the supplied IGNGContainer implementation.


Member Function Documentation

virtual bool IsInsertCriteriaMet  )  [pure virtual]
 

Returns:
true if the insertion critera is met, false otherwise.

Implemented in DefaultNodeInserter.

virtual void InsertNewNode  )  [pure virtual]
 

This method is called to insert a new node.

Implemented in DefaultNodeInserter, and SGNGNodeInserter.

virtual void SetGNGContainer IGNGContainer c  )  [pure virtual]
 

This method is used to register a GNGContainer object with the IGNGNodeInserter implementation.

It is called by GNGAlgorithm when a IGNGNodeInserter implementation is registered with GNGAlgorithm.

Parameters:
c An IGNGContainer object reference.

Implemented in DefaultNodeInserter.


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