org.graffiti.plugins.algorithms.mnn
Class CanonicalOrderingNode

java.lang.Object
  extended by org.graffiti.plugins.algorithms.mnn.CanonicalOrderingNode

public class CanonicalOrderingNode
extends Object

This class is a collection of nodes with the same canonical ordering number

Version:
$Revision: 5766 $ $Date: 2006-08-10 11:02:23 +0200 (Do, 10 Aug 2006) $
Author:
Thomas

Constructor Summary
CanonicalOrderingNode(LinkedList<Node> nodes)
          Constructor
CanonicalOrderingNode(Node node)
          Constructor
 
Method Summary
 LinkedList<Node> getNodes()
          returns the nodes
 int getNumber()
          get the ordering number
 int getNumberOfNodes()
          returns the nuber of noces in this Canonical ordering node
 void setNumber(int num)
          set the ordering number
 String toString()
          toString()
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CanonicalOrderingNode

public CanonicalOrderingNode(Node node)
Constructor

Parameters:
node - one node

CanonicalOrderingNode

public CanonicalOrderingNode(LinkedList<Node> nodes)
Constructor

Parameters:
nodes - a list of nodes with the same ordering number
Method Detail

setNumber

public void setNumber(int num)
set the ordering number

Parameters:
num - the number

getNumber

public int getNumber()
get the ordering number

Returns:
the number

getNodes

public LinkedList<Node> getNodes()
returns the nodes

Returns:
the nodes

getNumberOfNodes

public int getNumberOfNodes()
returns the nuber of noces in this Canonical ordering node

Returns:
the number of nodes

toString

public String toString()
toString()

Overrides:
toString in class Object


Generated at 2012-05-30 11:01:25 PM CEST