Constructor and Description |
---|
MatrixExporter()
Creates a new MatrixExporter object.
|
Modifier and Type | Method and Description |
---|---|
void |
exportAdjacencyMatrix(Writer output,
DirectedGraph<V,E> g)
Exports the specified graph into a plain text file format containing a
sparse representation of the graph's adjacency matrix.
|
void |
exportAdjacencyMatrix(Writer output,
UndirectedGraph<V,E> g)
Exports the specified graph into a plain text file format containing a
sparse representation of the graph's adjacency matrix.
|
void |
exportLaplacianMatrix(Writer output,
UndirectedGraph<V,E> g)
Exports the specified graph into a plain text file format containing a
sparse representation of the graph's Laplacian matrix.
|
void |
exportNormalizedLaplacianMatrix(Writer output,
UndirectedGraph<V,E> g)
Exports the specified graph into a plain text file format containing a
sparse representation of the graph's normalized Laplacian matrix.
|
public void exportAdjacencyMatrix(Writer output, UndirectedGraph<V,E> g)
output
- the writer to which the graph to be exported.g
- the graph to be exported.public void exportAdjacencyMatrix(Writer output, DirectedGraph<V,E> g)
output
- the writer to which the graph to be exported.g
- the graph to be exported.public void exportLaplacianMatrix(Writer output, UndirectedGraph<V,E> g)
output
- the writer to which the graph is to be exported.g
- the graph to be exported.public void exportNormalizedLaplacianMatrix(Writer output, UndirectedGraph<V,E> g)
output
- the writer to which the graph is to be exported.g
- the graph to be exported.Copyright © 2016. All rights reserved.