RePast
v. 2.0

uchicago.src.sim.network
Interface NetworkMatrixReader

All Known Implementing Classes:
DlReader, ExcelMatrixReader

public interface NetworkMatrixReader

Interface for reading a network matrix. All the specific network matrix readers implement this interface.


Method Summary
 void close()
          Closes the reader.
 Vector getMatrices()
          Deprecated.  
 Vector getMatrices(int matrixType)
          Returns a vector of AdjacencyMatrices.
 

Method Detail

getMatrices

public Vector getMatrices(int matrixType)
                   throws IOException
Returns a vector of AdjacencyMatrices.

Parameters:
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
IOException

getMatrices

public Vector getMatrices()
                   throws IOException
Deprecated.  

Returns a vector of AdjacencyMatrices.

IOException

close

public void close()
Closes the reader.


RePast
v. 2.0

Bug reports and feature requests to RePast