uchicago.src.sim.network
Interface NetworkMatrixFormatter

All Known Implementing Classes:
ASCIIFormatter, DlFormatter, ExcelFormatter

public interface NetworkMatrixFormatter

A formatter interface for network matrices. Defines formats for saving network matrices via a NetworkRecorder.

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

Method Summary
 void format(java.util.List matrixLabels, java.util.Vector matrices, java.lang.String comment)
          formats the specified matrices together with the labels, and comment
 java.lang.String getHeader()
          Returns the block header for the matrices formatter in comment.
 java.util.Vector getMatrices()
          Returns a Vector of appropriate Strings representing the matrices.
 

Method Detail

format

void format(java.util.List matrixLabels,
            java.util.Vector matrices,
            java.lang.String comment)
formats the specified matrices together with the labels, and comment

Parameters:
matrixLabels - the labels of the matrices
matrices - a Vector of AdjacencyMatrices
comment - an optional comment

getHeader

java.lang.String getHeader()
Returns the block header for the matrices formatter in comment.


getMatrices

java.util.Vector getMatrices()
Returns a Vector of appropriate Strings representing the matrices.