net.sourceforge.combean.graph.prop.statics
Class GraphStringifier

Package class diagram package GraphStringifier
java.lang.Object
  extended by net.sourceforge.combean.graph.prop.statics.GraphStringifier

public class GraphStringifier
extends Object

Utilitiy class which converts graphs and substructures of graphs into human-readable string representations (for debugging purposes)


Constructor Summary
GraphStringifier()
           
 
Method Summary
static String convertEdgeIterationToString(EdgeIterator itEdges)
          Convert the edges in an edge iteration to a String
static String convertOutgoingAdjacencyListsToString(Graph g)
          Convert a graph to a string consisting of all adjacency lists of outgoing edges
static String convertToString(FixedPath path)
          Convert a path to a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphStringifier

public GraphStringifier()
Method Detail

convertToString

public static String convertToString(FixedPath path)
Convert a path to a string

Parameters:
path - the path to be converted
Returns:
a string representation of path

convertEdgeIterationToString

public static String convertEdgeIterationToString(EdgeIterator itEdges)
Convert the edges in an edge iteration to a String

Parameters:
itEdges - the iterator for which all edges of the iteration shall be converted to a string.
Returns:
the string representing the edges in the iteration.

convertOutgoingAdjacencyListsToString

public static String convertOutgoingAdjacencyListsToString(Graph g)
Convert a graph to a string consisting of all adjacency lists of outgoing edges

Parameters:
g - the graph to be converted
Returns:
the adjacency lists of outgoing edges of g