jdsl.graph.ref
Class ToString

java.lang.Object
  |
  +--jdsl.graph.ref.ToString

public class ToString
extends java.lang.Object

Class with static methods to generate a string representing a graph. Since all the useful methods are static, it should never be necessary to create an instance of ToString. Until I get around to writing better documentation here, see jdsl.core.ref.ToString for the style I use here.

Version:
$Revision: 1.6 $, $Date: 2000/02/14 11:50:18 $
Author:
Mark Handy

Inner Class Summary
static class ToString.EdgeInRTStyle
           
static class ToString.EdgeToEmptyString
           
static interface ToString.EdgeToString
           
static class ToString.VertexToEmptyString
           
static interface ToString.VertexToString
           
static class ToString.VertexWritesElementOnly
           
 
Field Summary
static ToString.EdgeToString edge_in_rt_style
           
static ToString.VertexToString vert_to_element_s
           
 
Method Summary
static java.lang.String stringfor(Edge e)
           
static java.lang.String stringfor(InspectableGraph g)
           
static java.lang.String stringfor(InspectableGraph g, ToString.VertexToString vts, ToString.EdgeToString ets)
          Code lifted shamelessly from rt's corresponding class in jdsltools.testers.graph, then adapted to the style of my jdsl.core.ref.ToString.
static java.lang.String stringfor(Vertex v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vert_to_element_s

public static final ToString.VertexToString vert_to_element_s

edge_in_rt_style

public static final ToString.EdgeToString edge_in_rt_style
Method Detail

stringfor

public static java.lang.String stringfor(InspectableGraph g,
                                         ToString.VertexToString vts,
                                         ToString.EdgeToString ets)
Code lifted shamelessly from rt's corresponding class in jdsltools.testers.graph, then adapted to the style of my jdsl.core.ref.ToString.

stringfor

public static java.lang.String stringfor(InspectableGraph g)

stringfor

public static java.lang.String stringfor(Edge e)

stringfor

public static java.lang.String stringfor(Vertex v)