protected void loadControlerListeners() { this.dcContext .init(); // this is an ugly hack, but I somehow need to get the scoring function + context // into the controler this.addControlerListener(new DestinationChoiceInitializer(this.dcContext)); if (Double.parseDouble(super.getConfig().locationchoice().getRestraintFcnExp()) > 0.0 && Double.parseDouble(super.getConfig().locationchoice().getRestraintFcnFactor()) > 0.0) { this.addControlerListener( new FacilitiesLoadCalculator(this.dcContext.getFacilityPenalties())); } super.loadControlerListeners(); }