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.

Version:
$Revision: 1.4 $ $Date: 2004/11/03 19:51:01 $
Author:
Nick Collier

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

Method Detail

getMatrices

java.util.Vector getMatrices(int matrixType)
                             throws java.io.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
Throws:
java.io.IOException

getMatrices

java.util.Vector getMatrices()
                             throws java.io.IOException
Deprecated. 

Returns a vector of AdjacencyMatrices.

Throws:
java.io.IOException

close

void close()
Closes the reader.