uk.ac.leeds.ccg.andyt.projects.moses.io
Class OutputDataHandler_OptimisationConstraints

java.lang.Object
  extended by uk.ac.leeds.ccg.andyt.projects.moses.io.OutputDataHandler_OptimisationConstraints

public class OutputDataHandler_OptimisationConstraints
extends java.lang.Object

Class for handling output that compares some optimisation constraint variables in the CAS and IndividualCensus outputs.


Constructor Summary
OutputDataHandler_OptimisationConstraints(CASDataHandler a_CASDataHandler)
           
 
Method Summary
static java.lang.String getHSARHP_ISARCEPHeader()
          Writes out header.
static java.lang.String getISARHP_ISARCEPHeader()
           
static void main(java.lang.String[] args)
           
 void run()
           
 void writeHeader()
          Writes out header using this._FileOutputStream.
static void writeHSARHP_ISARCEP(java.util.HashMap<java.lang.String,java.lang.Integer> a_Counts, java.lang.String a_ZoneCode, java.io.FileOutputStream a_FileOutputStream)
           
static void writeHSARHP_ISARCEPHeader(java.io.FileOutputStream a_FileOutputStream)
          Writes out header.
static void writeISARHP_ISARCEP(java.util.HashMap<java.lang.String,java.lang.Integer> a_Counts, java.lang.String a_ZoneCode, java.io.FileOutputStream a_FileOutputStream)
           
static void writeISARHP_ISARCEPHeader(java.io.FileOutputStream a_FileOutputStream)
          Writes out header.
 void writeObservedHSARHP_ISARCEP(java.lang.String a_OutputFileName, CASDataHandler a_CASDataHandler, ISARDataHandler tISARDataHandler)
           
 void writeObservedISARHP_ISARCEP(java.lang.String a_OutputFileName, CASDataHandler a_CASDataHandler, ISARDataHandler tISARDataHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputDataHandler_OptimisationConstraints

public OutputDataHandler_OptimisationConstraints(CASDataHandler a_CASDataHandler)
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Parameters:
args - the command line arguments
Throws:
java.io.IOException

run

public void run()
         throws java.io.IOException
Throws:
java.io.IOException

writeHeader

public void writeHeader()
                 throws java.io.IOException
Writes out header using this._FileOutputStream.

Throws:
java.io.IOException

writeISARHP_ISARCEPHeader

public static void writeISARHP_ISARCEPHeader(java.io.FileOutputStream a_FileOutputStream)
                                      throws java.io.IOException
Writes out header.

Throws:
java.io.IOException

getISARHP_ISARCEPHeader

public static java.lang.String getISARHP_ISARCEPHeader()

writeHSARHP_ISARCEPHeader

public static void writeHSARHP_ISARCEPHeader(java.io.FileOutputStream a_FileOutputStream)
                                      throws java.io.IOException
Writes out header.

Throws:
java.io.IOException

getHSARHP_ISARCEPHeader

public static java.lang.String getHSARHP_ISARCEPHeader()
Writes out header.


writeObservedISARHP_ISARCEP

public void writeObservedISARHP_ISARCEP(java.lang.String a_OutputFileName,
                                        CASDataHandler a_CASDataHandler,
                                        ISARDataHandler tISARDataHandler)
                                 throws java.io.IOException
Throws:
java.io.IOException

writeObservedHSARHP_ISARCEP

public void writeObservedHSARHP_ISARCEP(java.lang.String a_OutputFileName,
                                        CASDataHandler a_CASDataHandler,
                                        ISARDataHandler tISARDataHandler)
                                 throws java.io.IOException
Throws:
java.io.IOException

writeHSARHP_ISARCEP

public static void writeHSARHP_ISARCEP(java.util.HashMap<java.lang.String,java.lang.Integer> a_Counts,
                                       java.lang.String a_ZoneCode,
                                       java.io.FileOutputStream a_FileOutputStream)
                                throws java.io.IOException
Throws:
java.io.IOException

writeISARHP_ISARCEP

public static void writeISARHP_ISARCEP(java.util.HashMap<java.lang.String,java.lang.Integer> a_Counts,
                                       java.lang.String a_ZoneCode,
                                       java.io.FileOutputStream a_FileOutputStream)
                                throws java.io.IOException
Throws:
java.io.IOException