uchicago.src.sim.network
Class AdjacencyMatrixFactory
java.lang.Object
|
+--uchicago.src.sim.network.AdjacencyMatrixFactory
- public class AdjacencyMatrixFactory
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createAdjacencyMatrix
public static AdjacencyMatrix createAdjacencyMatrix(int rows,
int cols,
int type)
- Returns an AdjacencyMatrix of the appropriate type.
- Parameters:
rows - the number of rows in the matrixcols - the number of cols in the matrixtype - the type of the matrix. type refers to the size of the matrix
elements (ij values) and can be one of NetworkConstants.BINARY,
NetworkConstants.LARGE, NetworkConstants.SMALL
createAdjacencyMatrix
public static AdjacencyMatrix createAdjacencyMatrix(List labels,
int type)
Bug reports and feature requests to RePast