phylonet.graph.io
Class EdgeListReader

java.lang.Object
  extended by phylonet.graph.io.EdgeListReader

public class EdgeListReader
extends java.lang.Object

This class provides a utility that reads in a graph from an edge-list formatted source. Edge list sources consist of a direction indicator followed by a series of edges. A direction indicator is either:

Edges are specified: Node1 Node2 [weight]; In the case of directed edges, Node1 is the source and Node2 is the target. weight is an optional argument. When specified, it must be a number. Node names that contain spaces should be surrounded by quote characters ("").

Author:
Derek Ruths

Constructor Summary
EdgeListReader(java.io.Reader r)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeListReader

public EdgeListReader(java.io.Reader r)