annas.graph.export
Interface Exporter<N,A extends ArcInterface<N>>

Type Parameters:
N - Node type
A - Arc type
All Known Implementing Classes:
DOTExporter, XMLExporter

public interface Exporter<N,A extends ArcInterface<N>>

Interface for all Exporters. Exporters provide an alternative representation of a graph from use outside of the annas package.

Author:
Sam Wilson

Method Summary
 void export(GraphInterface<N,A> graph)
          Exports the provided graph.
 void export(java.io.OutputStream ops, GraphInterface<N,A> graph)
          Exports the provided graph.
 

Method Detail

export

void export(java.io.OutputStream ops,
            GraphInterface<N,A> graph)
Exports the provided graph.

Parameters:
ops - Stream to output the graph to
graph - Graph to export

export

void export(GraphInterface<N,A> graph)
Exports the provided graph.

Parameters:
graph - Graph to export