gridiq.simulation
Interface ResultsWriter

All Known Implementing Classes:
GnuPlotWriter

public interface ResultsWriter

This interface decouples the actual method used to store results from the system. The current system provides a concrete implementation, GnuPlotWriter, which writes results to a text file in a format that can be used by the plotting application Gnuplot. The system could easily be extended to support other persistence mechanisms such as a database by creating other implementations of this interface.

Author:
colin

Method Summary
 void saveResults(SimResults results)
           
 

Method Detail

saveResults

void saveResults(SimResults results)
                 throws java.io.IOException
Throws:
java.io.IOException