|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jgrapht.ext.MatrixExporter<V,E>
public class MatrixExporter<V,E>
Exports a graph to a plain text matrix format, which can be processed by matrix manipulation software, such as MTJ or MATLAB.
| Constructor Summary | |
|---|---|
MatrixExporter()
Creates a new MatrixExporter object. |
|
| Method Summary | |
|---|---|
void |
exportAdjacencyMatrix(java.io.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(java.io.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(java.io.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(java.io.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MatrixExporter()
| Method Detail |
|---|
public void exportAdjacencyMatrix(java.io.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(java.io.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(java.io.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(java.io.Writer output,
UndirectedGraph<V,E> g)
output - the writer to which the graph is to be exported.g - the graph to be exported.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||