helix.graph.io
Class DimacsExtendedWriter

java.lang.Object
  extended by helix.graph.io.AbstractGraphWriter
      extended by helix.graph.io.DimacsExtendedWriter
All Implemented Interfaces:
GraphWriter

public class DimacsExtendedWriter
extends AbstractGraphWriter

Extended Dimacs format :
p [label] : problem line : label is from graph registry Label
n [label] + : vertex lines : label is from vertex registry Label
e index1 index2 [label] : edge line : indexi are 1-based index refereing to
vertices (see below). label is from edge registry Label


Constructor Summary
DimacsExtendedWriter(Writer writer)
          constructor
 
Method Summary
 void write(Graph graph)
          writer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DimacsExtendedWriter

public DimacsExtendedWriter(Writer writer)
constructor

Method Detail

write

public void write(Graph graph)
           throws IOException
writer

Specified by:
write in interface GraphWriter
Specified by:
write in class AbstractGraphWriter
Throws:
IOException