com.tensegrity.graph.algorithm
Class NodePath

java.lang.Object
  extended bycom.tensegrity.graph.algorithm.NodePath

public class NodePath
extends java.lang.Object


Constructor Summary
NodePath(Node[] path, Edge[] pathEdges)
           
 
Method Summary
 NodePath concatenate(NodePath other)
           
 boolean concatenatesToLoop(NodePath other)
           
 int getLength()
           
 Node[] getPath()
           
 Edge[] getPathEdges()
           
 Node getStartNode()
           
 Node getStopNode()
           
 int getWeight()
           
 boolean isLoop()
           
 boolean overlaps(NodePath other)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodePath

public NodePath(Node[] path,
                Edge[] pathEdges)
Method Detail

getLength

public int getLength()

getWeight

public int getWeight()

getStartNode

public Node getStartNode()

getStopNode

public Node getStopNode()

getPath

public Node[] getPath()

getPathEdges

public Edge[] getPathEdges()

isLoop

public boolean isLoop()

overlaps

public boolean overlaps(NodePath other)

concatenatesToLoop

public boolean concatenatesToLoop(NodePath other)

concatenate

public final NodePath concatenate(NodePath other)

toString

public java.lang.String toString()


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.