net.sourceforge.combean.adapters.drasys.graph
Class DRAGraphUtils
java.lang.Object
net.sourceforge.combean.adapters.drasys.graph.DRAGraphUtils
public class DRAGraphUtils
- extends Object
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 |
DRAGraphUtils
public DRAGraphUtils()
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)