|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetkit.util.GraphMetrics.AdjacencyMatrix
public final class GraphMetrics.AdjacencyMatrix
This is a wrapper class for the COLT DoubleMatrix2D object such that NetKit does not require the colt library in its classpath. Otherwise, any instantiation of GraphMetrics would require that the COLT library is in the classpath regardless of whether the adjacency matrix is needed.
Field Summary | |
---|---|
DoubleMatrix2D |
coltMatrix
|
Constructor Summary | |
---|---|
GraphMetrics.AdjacencyMatrix(boolean unweighted)
Create a wrapper for the (possibly unweighted) adjacency matrix of this graph in the COLT sparseMatrix2D format. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final DoubleMatrix2D coltMatrix
Constructor Detail |
---|
public GraphMetrics.AdjacencyMatrix(boolean unweighted)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |