uk.ac.leeds.ccg.andyt.projects.moses.process
Class IndividualCensus_ISARHP_ISARCEP
java.lang.Object
uk.ac.leeds.ccg.andyt.projects.moses.utilities.AbstractLog
uk.ac.leeds.ccg.andyt.projects.moses.process.IndividualCensus
uk.ac.leeds.ccg.andyt.projects.moses.process.IndividualCensus_ISARHP_ISARCEP
- Direct Known Subclasses:
- IndividualCensus_ISARHP_ISARCEP_MPJ, IndividualCensus_ISARHP_ISARCEP_PC
public abstract class IndividualCensus_ISARHP_ISARCEP
- extends IndividualCensus
A class for integrating the 2001 UK Population Census Individual SAR and
Census Area Statistics to create an individual level census data set for the
UK.
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 |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IndividualCensus_ISARHP_ISARCEP
public IndividualCensus_ISARHP_ISARCEP()
init
protected void init(java.io.File inputParameter_File)
- Initialisation method
- Parameters:
_Input_Parameter_File
-
init
public void init(IndividualCensus_ISARHP_ISARCEP _IndividualCensus_ISARHP_ISARCEP)
getConstraints_ISARHP_ISARCEP
public java.lang.Object[] getConstraints_ISARHP_ISARCEP(CASDataRecord aCASDataRecord)
getConstraintsAndPopulation_ISARHP_ISARCEP
public java.lang.Object[] getConstraintsAndPopulation_ISARHP_ISARCEP(CASDataRecord aCASDataRecord)
- Parameters:
aCASDataRecord
- The CASDataRecord being processed.
- Returns:
- An Object[] tConstraintsAndPopulation_ISARHP_ISARCEP:
tConstraintsAndPopulation_ISARHP_ISARCEP[0] constraints:
constraints[0] = constraintCAS003HPHRPAgeFemaleCount_HashMap;
constraints[1] = constraintCAS003HPHRPAgeMaleCount_HashMap;
constraints[2] = constraintCAS001CEPAgeFemaleCount3_HashMap;
constraints[3] = constraintCAS001CEPAgeMaleCount3_HashMap;
tConstraintsAndPopulation_ISARHP_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] = tHPNonHRP_Vector;
population[5] = tCEPFemale_Age_Vector_HashMap;
population[6] = tCEPFemale_Vector;
population[7] = tCEPMale_Age_Vector_HashMap;
population[8] = 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.
write_ISARHP_ISARCEP
public void write_ISARHP_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] = tHPNonHRP_Vector;
population[5] = tCEPFemale_AgeSexType_Vector_HashMap;
population[6] = tCEPFemale_Vector;
population[7] = tCEPMale_AgeSexType_Vector_HashMap;
population[8] = tCEPMale_Vector;