net.sourceforge.combean.adapters.drasys.graph
Class DRAGraphUtils

Package class diagram package DRAGraphUtils
java.lang.Object
  extended by net.sourceforge.combean.adapters.drasys.graph.DRAGraphUtils

public class DRAGraphUtils
extends Object


Constructor Summary
DRAGraphUtils()
           
 
Method Summary
static void addNumberedCycle(drasys.or.graph.AddEdgeI g, int from, int to, boolean isDirected)
           
static void addNumberedPath(drasys.or.graph.AddEdgeI g, int[] path, boolean isDirected)
           
static void addNumberedPath(drasys.or.graph.AddEdgeI g, int from, int to, boolean isDirected)
           
static void addNumberedVertices(drasys.or.graph.AddVertexI g, int from, int to)
           
static DRAGraphVertexAsNode getVertexByNumber(drasys.or.graph.GraphI g, int vertexNum)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DRAGraphUtils

public DRAGraphUtils()
Method Detail

addNumberedVertices

public static void addNumberedVertices(drasys.or.graph.AddVertexI g,
                                       int from,
                                       int to)
                                throws drasys.or.graph.DuplicateVertexException
Throws:
drasys.or.graph.DuplicateVertexException

addNumberedPath

public static void addNumberedPath(drasys.or.graph.AddEdgeI g,
                                   int[] path,
                                   boolean isDirected)
                            throws drasys.or.graph.DuplicateEdgeException,
                                   drasys.or.graph.VertexNotFoundException
Throws:
drasys.or.graph.DuplicateEdgeException
drasys.or.graph.VertexNotFoundException

addNumberedPath

public static void addNumberedPath(drasys.or.graph.AddEdgeI g,
                                   int from,
                                   int to,
                                   boolean isDirected)
                            throws drasys.or.graph.DuplicateEdgeException,
                                   drasys.or.graph.VertexNotFoundException
Throws:
drasys.or.graph.DuplicateEdgeException
drasys.or.graph.VertexNotFoundException

addNumberedCycle

public static void addNumberedCycle(drasys.or.graph.AddEdgeI g,
                                    int from,
                                    int to,
                                    boolean isDirected)
                             throws drasys.or.graph.DuplicateEdgeException,
                                    drasys.or.graph.VertexNotFoundException
Throws:
drasys.or.graph.DuplicateEdgeException
drasys.or.graph.VertexNotFoundException

getVertexByNumber

public static DRAGraphVertexAsNode getVertexByNumber(drasys.or.graph.GraphI g,
                                                     int vertexNum)