public void logStopObject(Logger logger, int totalChars) { String separater = ""; for (int i = 0; i < totalChars; i++) separater += "-"; Household.logHelper(logger, "stopId: ", id, totalChars); Household.logHelper(logger, "origPurpose: ", origPurpose, totalChars); Household.logHelper(logger, "destPurpose: ", destPurpose, totalChars); Household.logHelper(logger, "orig: ", orig, totalChars); Household.logHelper(logger, "dest: ", dest, totalChars); Household.logHelper(logger, "mode: ", mode, totalChars); Household.logHelper(logger, "direction: ", inbound ? "inbound" : "outbound", totalChars); Household.logHelper( logger, inbound ? "outbound departPeriod: " : "inbound arrivePeriod: ", stopPeriod, totalChars); logger.info(separater); logger.info(""); logger.info(""); }
public void logEntireHouseholdObject(String titleString, Logger logger) { int totalChars = 60; String separater = ""; for (int i = 0; i < totalChars; i++) separater += "="; logger.info(separater); logger.info(titleString); logger.info(separater); separater = ""; for (int i = 0; i < totalChars; i++) separater += "-"; Household.logHelper(logger, "hhId: ", hhId, totalChars); Household.logHelper( logger, "debugChoiceModels: ", debugChoiceModels ? "True" : "False", totalChars); Household.logHelper(logger, "hhIncome: ", hhIncome, totalChars); Household.logHelper(logger, "hhIncomeInDollars: ", hhIncomeInDollars, totalChars); Household.logHelper(logger, "hhSize: ", hhSize, totalChars); Household.logHelper(logger, "hhType: ", hhType, totalChars); Household.logHelper(logger, "hhWorkers: ", hhWorkers, totalChars); Household.logHelper(logger, "homeTaz: ", homeTaz, totalChars); Household.logHelper(logger, "homeMgra: ", homeMgra, totalChars); Household.logHelper(logger, "homeWalkSubzone: ", homeWalkSubzone, totalChars); Household.logHelper(logger, "aoModelAutos: ", aoModelAutos, totalChars); Household.logHelper(logger, "cdapModelPattern: ", cdapModelPattern, totalChars); Household.logHelper(logger, "imtfModelPattern: ", imtfModelPattern, totalChars); Household.logHelper(logger, "jtfModelPattern: ", jtfModelPattern, totalChars); Household.logHelper(logger, "randomCount: ", randomCount, totalChars); if (uwslRandomCountList.size() > 0) { for (int i : uwslRandomCountList.keySet()) Household.logHelper( logger, String.format("uwslRandomCount[%d]: ", i), uwslRandomCountList.get(i), totalChars); } else { Household.logHelper(logger, "uwslRandomCount[0]: ", 0, totalChars); } Household.logHelper(logger, "aoRandomCount: ", aoRandomCount, totalChars); Household.logHelper(logger, "tpRandomCount: ", tpRandomCount, totalChars); Household.logHelper(logger, "fpRandomCount: ", fpRandomCount, totalChars); Household.logHelper(logger, "ieRandomCount: ", ieRandomCount, totalChars); Household.logHelper(logger, "cdapRandomCount: ", cdapRandomCount, totalChars); Household.logHelper(logger, "imtfRandomCount: ", imtfRandomCount, totalChars); Household.logHelper(logger, "imtodRandomCount: ", imtodRandomCount, totalChars); Household.logHelper(logger, "awfRandomCount: ", awfRandomCount, totalChars); Household.logHelper(logger, "awlRandomCount: ", awlRandomCount, totalChars); Household.logHelper(logger, "awtodRandomCount: ", awtodRandomCount, totalChars); Household.logHelper(logger, "jtfRandomCount: ", jtfRandomCount, totalChars); Household.logHelper(logger, "jtlRandomCount: ", jtlRandomCount, totalChars); Household.logHelper(logger, "jtodRandomCount: ", jtodRandomCount, totalChars); Household.logHelper(logger, "inmtfRandomCount: ", inmtfRandomCount, totalChars); Household.logHelper(logger, "inmtlRandomCount: ", inmtlRandomCount, totalChars); Household.logHelper(logger, "inmtodRandomCount: ", inmtodRandomCount, totalChars); Household.logHelper(logger, "stfRandomCount: ", stfRandomCount, totalChars); Household.logHelper(logger, "stlRandomCount: ", stlRandomCount, totalChars); Household.logHelper(logger, "maxAdultOverlaps: ", maxAdultOverlaps, totalChars); Household.logHelper(logger, "maxChildOverlaps: ", maxChildOverlaps, totalChars); Household.logHelper(logger, "maxMixedOverlaps: ", maxMixedOverlaps, totalChars); if (jointTours != null) { logger.info("Joint Tours:"); if (jointTours.length > 0) { for (int i = 0; i < jointTours.length; i++) jointTours[i].logEntireTourObject(logger); } else logger.info(" No joint tours"); } else logger.info(" No joint tours"); logger.info("Person Objects:"); for (int i = 1; i < persons.length; i++) persons[i].logEntirePersonObject(logger); logger.info(separater); logger.info(""); logger.info(""); }