|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectfr.umlv.gramofone.graphs.Tools
public class Tools
Some tools on graph
| Constructor Summary | |
|---|---|
Tools()
|
|
| Method Summary | |
|---|---|
static java.util.HashMap<java.lang.Integer,java.util.HashSet<java.lang.Integer>> |
components(MyGraph g)
Return a hashmap with the connected component of the graph |
static void |
dotty(MyGraph g)
launch dotty and print the graph |
static boolean |
isConnected(MyGraph g)
Return true if the graph is connected |
static void |
printErrorMessageAndInterrupt(java.lang.String message)
Print an cytoscape error message and interrupt the program |
static java.util.Set<Edge> |
spanningTree(MyGraph g)
Return a spanning tree of the graph |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Tools()
| Method Detail |
|---|
public static boolean isConnected(MyGraph g)
g -
public static java.util.Set<Edge> spanningTree(MyGraph g)
g -
public static java.util.HashMap<java.lang.Integer,java.util.HashSet<java.lang.Integer>> components(MyGraph g)
g -
public static void dotty(MyGraph g)
public static void printErrorMessageAndInterrupt(java.lang.String message)
message -
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||