uk.ac.leeds.ccg.andyt.projects.moses.process
Class IndividualCensus_HSARHP_ISARCEP

java.lang.Object
  extended by uk.ac.leeds.ccg.andyt.projects.moses.utilities.AbstractLog
      extended by uk.ac.leeds.ccg.andyt.projects.moses.process.IndividualCensus
          extended by uk.ac.leeds.ccg.andyt.projects.moses.process.IndividualCensus_HSARHP_ISARCEP
Direct Known Subclasses:
IndividualCensus_HSARHP_ISARCEP_MPJ, IndividualCensus_HSARHP_ISARCEP_PC

public abstract class IndividualCensus_HSARHP_ISARCEP
extends IndividualCensus


Field Summary
 HSARDataHandler _HSARDataHandler
           
 
Fields inherited from class uk.ac.leeds.ccg.andyt.projects.moses.process.IndividualCensus
_Area, _CASDataHandler, _CASLevel, _Directory, _GeneticAlgorithm, _IncludedVariablesHashSet, _Input_File, _ISARDataHandler, _LongNumberOfHSARDataRecords, _LongNumberOfISARDataRecords, _Output_File_0, _Output_File_1, _OutputDirectory, _OutputDirectory_Name, _OutputName, _Population_HashMap, _StartTime, _ToyModelDataHandler, _ZoneCode_StartRecordID_EndRecordID_HashMap, _ZoneCodeSubstring_TreeSet
 
Fields inherited from class uk.ac.leeds.ccg.andyt.projects.moses.utilities.AbstractLog
_Logger, _Logger_FileHandler
 
Constructor Summary
IndividualCensus_HSARHP_ISARCEP()
           
 
Method Summary
 java.lang.Object[] getConstraints_HSARHP_ISARCEP(CASDataRecord aCASDataRecord)
           
 java.lang.Object[] getConstraintsAndPopulation_HSARHP_ISARCEP(CASDataRecord aCASDataRecord)
           
 void init_HSARDataHandler(java.io.File directory)
          Initialises _HSARDataHandler and _LongNumberOfHSARDataRecords
 void init_ISARDataHandler(java.io.File directory)
          Initialises _ISARDataHandler and _LongNumberOfISARDataRecords
 void init(java.io.File _Input_Parameter_File)
           
 void init(IndividualCensus_HSARHP_ISARCEP _IndividualCensus_HSARHP_ISARCEP)
           
 void write_HSARHP_ISARCEP(java.lang.Object[] population, CASDataRecord aCASDataRecord, java.math.BigDecimal fitness)
           
 
Methods inherited from class uk.ac.leeds.ccg.andyt.projects.moses.process.IndividualCensus
get_CASDataHandler, get_RecordID_ZoneCode_HashMap, get_RecordID_ZoneCode_HashMap, get_StartRecordID_EndRecordID, get_UK_OA_ID_HashSet, get_ZoneCode_RecordID_HashMap, getGeneralPopulationContraints, getGeneralPopulationContraints, init_CASDataHandler, init_IncludedVariablesHashSet, init_Population_HashMap, init_ToyModelDataHandler, init_ZoneCode_StartRecordID_EndRecordID_HashMap, init_ZoneCodeSubstring_TreeSet, init, initLogFile, initLogFile, initLogFile, initLogFile, initOutputFiles, load_Population_HashMap, loadGeneralPopulationContraints, output_Population_HashMap, toString
 
Methods inherited from class uk.ac.leeds.ccg.andyt.projects.moses.utilities.AbstractLog
init_Logger, init_Logger, init_Logger, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_HSARDataHandler

public HSARDataHandler _HSARDataHandler
Constructor Detail

IndividualCensus_HSARHP_ISARCEP

public IndividualCensus_HSARHP_ISARCEP()
Method Detail

init

public void init(java.io.File _Input_Parameter_File)

init

public void init(IndividualCensus_HSARHP_ISARCEP _IndividualCensus_HSARHP_ISARCEP)

getConstraints_HSARHP_ISARCEP

public java.lang.Object[] getConstraints_HSARHP_ISARCEP(CASDataRecord aCASDataRecord)

getConstraintsAndPopulation_HSARHP_ISARCEP

public java.lang.Object[] getConstraintsAndPopulation_HSARHP_ISARCEP(CASDataRecord aCASDataRecord)
Parameters:
aCASDataRecord - The CASDataRecord being processed.
Returns:
An Object[] tConstraintsAndPopulation_HSARHP_ISARCEP: tConstraintsAndPopulation_HSARHP_ISARCEP[0] constraints: constraints[0] = constraintCAS003HPHRPAgeFemaleCount_HashMap; constraints[1] = constraintCAS003HPHRPAgeMaleCount_HashMap; constraints[2] = constraintCAS001CEPAgeFemaleCount3_HashMap; constraints[3] = constraintCAS001CEPAgeMaleCount3_HashMap; tConstraintsAndPopulation_HSARHP_ISARCEP[2] population: population[0] = tHPHRPFemale_Age_Vector_HashMap; population[1] = tHPHRPFemale_Vector; population[2] = tHPHRPMale_Age_Vector_HashMap; population[3] = tHPHRPMale_Vector; population[4] = tCEPFemale_Age_Vector_HashMap; population[5] = tCEPFemale_Vector; population[6] = tCEPMale_Age_Vector_HashMap; population[7] = tCEPMale_Vector;

init_ISARDataHandler

public void init_ISARDataHandler(java.io.File directory)
Initialises _ISARDataHandler and _LongNumberOfISARDataRecords

Specified by:
init_ISARDataHandler in class IndividualCensus
Parameters:
directory - The directory from which ISARDataHandler is loaded.

init_HSARDataHandler

public void init_HSARDataHandler(java.io.File directory)
Initialises _HSARDataHandler and _LongNumberOfHSARDataRecords

Parameters:
directory - The directory from which HSARDataHandler is loaded.

write_HSARHP_ISARCEP

public void write_HSARHP_ISARCEP(java.lang.Object[] population,
                                 CASDataRecord aCASDataRecord,
                                 java.math.BigDecimal fitness)
Parameters:
population - Object[]: population[0] = tHPHRPFemale_AgeSexType_Vector_HashMap; population[1] = tHPHRPFemale_Vector; population[2] = tHPHRPMale_AgeSexType_Vector_HashMap; population[3] = tHPHRPMale_Vector; population[4] = tCEPFemale_AgeSexType_Vector_HashMap; population[5] = tCEPFemale_Vector; population[6] = tCEPMale_AgeSexType_Vector_HashMap; population[7] = tCEPMale_Vector;