Notice to GitKraken users: A vulnerability has been found in the SSH key generation of GitKraken versions 7.6.0 to 8.0.0 ( If you use GitKraken and have generated a SSH key using one of these versions, please remove it both from your local workstation and from your LRZ GitLab profile.

21.10.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit e9f110be authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier
Browse files

In "", deleted unused event handling code.

parent 7288e987
......@@ -287,34 +287,11 @@ public class OptimalStepsModel implements MainModel, PotentialFieldModel, Dynami
public void update(final double simTimeInSec) {
// TODO: handle each pedestrian individually based on its "mostImportantEvent".
double timeStepInSec = simTimeInSec - this.lastSimTimeInSec;
updateSchemeOSM.update(timeStepInSec, simTimeInSec);
lastSimTimeInSec = simTimeInSec;
private void handleElapsedTimeEvent(final Event event) {
if (!(event instanceof ElapsedTimeEvent)) {
throw new IllegalArgumentException("Wrong event type passed, expected: " + ElapsedTimeEvent.class.getName());
private void handleWaitEvent(final Event event) {
if (!(event instanceof WaitEvent)) {
throw new IllegalArgumentException(String.format("Wrong event type passed, expected: %s", WaitEvent.class.getName()));
Collection<PedestrianOSM> pedestrians = topography.getElements(PedestrianOSM.class);
for (PedestrianOSM pedestrian : pedestrians) {
pedestrian.setTimeOfNextStep(pedestrian.getTimeOfNextStep() + pedestrian.getDurationNextStep());
this.lastSimTimeInSec = event.getTime();
* At the moment all pedestrians also the initalPedestrians get this.attributesPedestrain!!!
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment