@Override public void run() { log.info(MARKER + "ITERATION " + iteration + " fires after mobsim event"); controlerListenerManagerImpl.fireControlerAfterMobsimEvent(iteration); } });
/** * Finishes the calculation of the plans' scores and assigns the new scores * to the plans if desired. */ public void finish() { if (iteration == -1) { throw new RuntimeException("Please initialize me before the iteration starts."); } controlerListenerManager.fireControlerAfterMobsimEvent(iteration); scoringFunctionsForPopulation.finishScoringFunctions(); newScoreAssigner.assignNewScores(this.iteration, scoringFunctionsForPopulation, population); finished = true; }
((ControlerListenerManagerImpl) controlerListenerManager).fireControlerAfterMobsimEvent(iterationNumber); for (ControlerListener controlerListener : controlerListenersDeclaredByModules) { if (controlerListener instanceof AfterMobsimListener) {