public void initializeForJtfRestart() { jtfModelPattern = null; jtfRandomCount = 0; jtlRandomCount = 0; jtodRandomCount = 0; inmtfRandomCount = 0; inmtlRandomCount = 0; inmtodRandomCount = 0; awfRandomCount = 0; awlRandomCount = 0; awtodRandomCount = 0; stfRandomCount = 0; stlRandomCount = 0; initializeWindows(); if (jointTours != null) { for (Tour t : jointTours) { t.clearStopModelResults(); } } for (int i = 1; i < persons.length; i++) persons[i].initializeForJtfRestart(); jointTours = null; }
public void initializeForAwfRestart() { awfRandomCount = 0; awlRandomCount = 0; awtodRandomCount = 0; stfRandomCount = 0; stlRandomCount = 0; initializeWindows(); if (jointTours != null) { for (Tour t : jointTours) { for (int i : t.getPersonNumArray()) persons[i].scheduleWindow(t.getTourDepartPeriod(), t.getTourArrivePeriod()); t.clearStopModelResults(); } } for (int i = 1; i < persons.length; i++) persons[i].initializeForAwfRestart(); }