|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.network.AdjacencyMatrixFactory
public class AdjacencyMatrixFactory
| Method Summary | |
|---|---|
static AdjacencyMatrix |
createAdjacencyMatrix(int rows,
int cols,
int type)
Returns an AdjacencyMatrix of the appropriate type. |
static AdjacencyMatrix |
createAdjacencyMatrix(java.util.List labels,
int type)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AdjacencyMatrix createAdjacencyMatrix(int rows,
int cols,
int type)
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
public static AdjacencyMatrix createAdjacencyMatrix(java.util.List labels,
int type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||