agl2
Class Graphs

java.lang.Object
  |
  +--agl2.Graphs

public class Graphs
extends java.lang.Object

The Graphs a collections of graph routine


Constructor Summary
Graphs()
           
 
Method Summary
static java.lang.String graphViz(VertexGraph g)
           
static java.lang.String nestedString(VertexGraph g, java.lang.Object root)
          Produce a string presentation of the graph in a DFS fasion with indenting Example: root node1 node2 node3 node4 node5 node6
static void print(java.io.PrintStream out, VertexGraph g)
           
static java.lang.String toString(VertexGraph g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Graphs

public Graphs()
Method Detail

print

public static void print(java.io.PrintStream out,
                         VertexGraph g)

toString

public static java.lang.String toString(VertexGraph g)

graphViz

public static java.lang.String graphViz(VertexGraph g)

nestedString

public static java.lang.String nestedString(VertexGraph g,
                                            java.lang.Object root)
Produce a string presentation of the graph in a DFS fasion with indenting Example: root node1 node2 node3 node4 node5 node6