de.unihalle.informatik.MiToBo.core.datatypes
Class MTBNeuriteSkelGraphNode<T>

java.lang.Object
  extended by de.unihalle.informatik.MiToBo.core.datatypes.MTBGraphNode<T>
      extended by de.unihalle.informatik.MiToBo.core.datatypes.MTBNeuriteSkelGraphNode<T>
Type Parameters:
T - Type parameter of MTBGraphNode. Possible choices are Point, Point2D, Integer, etc.

public class MTBNeuriteSkelGraphNode<T>
extends MTBGraphNode<T>

Class implements a MTBSkeletonGraphNode, which is a type of the MTBGraphNode. Each skeleton node has an specific MTBSkeletonNodeType. The type defines if the kind of the node, like a start node in the skeleton graph, a branch node or a end node of the skeleton graph.

Author:
misiak
See Also:
MTBGraphNode

Nested Class Summary
static class MTBNeuriteSkelGraphNode.MTBSkeletonNodeType
          Type of the MTBGraphNode
 
Field Summary
private  MTBNeuriteSkelGraphNode.MTBSkeletonNodeType nodeType
          MTBSkeletonNodeType of the MTBSkeletonGraphNode.
 
Fields inherited from class de.unihalle.informatik.MiToBo.core.datatypes.MTBGraphNode
data, inEdges, outEdges
 
Constructor Summary
MTBNeuriteSkelGraphNode(T data, MTBNeuriteSkelGraphNode.MTBSkeletonNodeType nodeType)
          Constructor to create a new MTBGraphNode object.
 
Method Summary
 MTBNeuriteSkelGraphNode.MTBSkeletonNodeType getNodeType()
           
protected  void setNodeType(MTBNeuriteSkelGraphNode.MTBSkeletonNodeType nodeType)
           
 java.lang.String toString()
           
 
Methods inherited from class de.unihalle.informatik.MiToBo.core.datatypes.MTBGraphNode
addInEdge, addOutEdge, getAllEdges, getData, getInEdges, getNeighbors, getNumberOfInEdges, getNumberOfOutEdges, getOutEdges, getTotalNumberOfEdges, removeInEdge, removeOutEdge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nodeType

private MTBNeuriteSkelGraphNode.MTBSkeletonNodeType nodeType
MTBSkeletonNodeType of the MTBSkeletonGraphNode. A MTBSkeletonGraph can include nodes from type start, branch and end.

Constructor Detail

MTBNeuriteSkelGraphNode

public MTBNeuriteSkelGraphNode(T data,
                               MTBNeuriteSkelGraphNode.MTBSkeletonNodeType nodeType)
Constructor to create a new MTBGraphNode object.

Parameters:
data - data of the MTBGraphNode
nodeType - type of the MTBGraphNode
Method Detail

getNodeType

public MTBNeuriteSkelGraphNode.MTBSkeletonNodeType getNodeType()

setNodeType

protected void setNodeType(MTBNeuriteSkelGraphNode.MTBSkeletonNodeType nodeType)

toString

public java.lang.String toString()
Overrides:
toString in class MTBGraphNode<T>