- Type Parameters:
V- graph vertex type
E- graph edge type
- All Implemented Interfaces:
In particular, the length of a Graph6 string representation of a graph depends only on the number of vertices. However, this also means that graphs with few edges take as much space as graphs with many edges. On the other hand, Sparse6 is a variable length format which can use dramatically less space for sparse graphs but can have a much larger storage size for dense graphs.
- Joris Kinable
DEFAULT_GRAPH6SPARSE6_FORMATpublic static final Graph6Sparse6Exporter.Format DEFAULT_GRAPH6SPARSE6_FORMATThe default format used by the exporter.
Graph6Sparse6Exporterpublic Graph6Sparse6Exporter()Constructs a new exporter with a given vertex ID provider.
(Graph6Sparse6Exporter.Format format)Constructs a new exporter with a given vertex ID provider.
format- the format to use
exportGraphDescription copied from interface:
GraphExporterExport a graph using the given
It is the callers responsibility to ensure the
Writeris closed after this method returned.