|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.ics.jung.utils.GraphProperties
public class GraphProperties
| Constructor Summary | |
|---|---|
GraphProperties()
|
|
| Method Summary | |
|---|---|
static boolean |
containsParallelEdges(Graph g)
Checks to see whether the graphs contains parallel edges |
static boolean |
containsSelfLoops(Graph g)
Checks to see whether the graphs contains self-loops |
static boolean |
isConnected(Graph g)
Checks to see whether the graph is connected. |
static boolean |
isSimple(Graph g)
Checks to see whether the graphs is simple (that is, whether it contains parallel edges and self-loops). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphProperties()
| Method Detail |
|---|
public static boolean isConnected(Graph g)
g - the graph
public static boolean isSimple(Graph g)
g - the graph
public static boolean containsSelfLoops(Graph g)
g - the graph
public static boolean containsParallelEdges(Graph g)
g - the graph
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||