|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uchicago.src.sim.network.ExcelMatrixReader
| Constructor Summary | |
ExcelMatrixReader(String filename)
|
|
| Method Summary | |
void |
close()
Closes the reader. |
Vector |
getMatrices()
Returns a vector of AdjacencyMatrices. |
Vector |
getMatrices(int matrixType)
Returns a vector of AdjacencyMatrices. |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExcelMatrixReader(String filename)
| Method Detail |
public Vector getMatrices()
throws IOException
NetworkMatrixReader
getMatrices in interface NetworkMatrixReaderIOException
public Vector getMatrices(int matrixType)
throws IOException
NetworkMatrixReader
getMatrices in interface NetworkMatrixReadermatrixType - 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
IOExceptionpublic static void main(String[] args)
public void close()
NetworkMatrixReader
close in interface NetworkMatrixReader
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||