Commit b622ff52 authored by Benedikt Zoennchen's avatar Benedikt Zoennchen

fix wrong order of footsteps using SalientBehavior.COOPERATIVE for the...

fix wrong order of footsteps using SalientBehavior.COOPERATIVE for the sequential and event driven update scheme.
parent d878830d
Pipeline #150729 failed with stages
in 60 minutes and 4 seconds
......@@ -198,7 +198,7 @@ public abstract class SimulationRenderer extends DefaultRenderer {
double maxDistance = Math.sqrt(model.getTopography().getBounds().getWidth() * model.getTopography().getBounds().getWidth() +
model.getTopography().getBounds().getHeight() * model.getTopography().getBounds().getHeight());
colorHelper = new ColorHelper((int)(maxDistance * 0.7));
colorHelper = new ColorHelper((int)(maxDistance));
for (int x = 0; x < potentialFieldImage.getWidth(); x++) {
for (int y = 0; y < potentialFieldImage.getHeight(); y++) {
......
......@@ -150,7 +150,7 @@
"height" : 20.0,
"type" : "RECTANGLE"
},
"id" : -1
"id" : 3
}, {
"shape" : {
"x" : 25.0,
......@@ -159,7 +159,7 @@
"height" : 20.0,
"type" : "RECTANGLE"
},
"id" : -1
"id" : 4
}, {
"shape" : {
"x" : 10.0,
......@@ -168,7 +168,7 @@
"height" : 1.0,
"type" : "RECTANGLE"
},
"id" : -1
"id" : 5
} ],
"measurementAreas" : [ {
"shape" : {
......@@ -201,7 +201,7 @@
} ],
"absorbingAreas" : [ ],
"sources" : [ {
"id" : -1,
"id" : 2,
"shape" : {
"x" : 10.0,
"y" : 5.0,
......
......@@ -270,4 +270,4 @@
},
"eventInfos" : [ ]
}
}
}
\ No newline at end of file
......@@ -433,4 +433,4 @@
},
"eventInfos" : [ ]
}
}
}
\ No newline at end of file
......@@ -377,4 +377,4 @@
},
"eventInfos" : [ ]
}
}
}
\ No newline at end of file
......@@ -665,4 +665,4 @@
},
"eventInfos" : [ ]
}
}
}
\ No newline at end of file
......@@ -164,7 +164,7 @@
} ],
"absorbingAreas" : [ ],
"sources" : [ {
"id" : -1,
"id" : 2,
"shape" : {
"x" : 2.0,
"y" : 2.0,
......
......@@ -82,7 +82,7 @@ public class PedestrianOSM extends Pedestrian {
this.speedAdjusters = speedAdjusters;
this.stepSizeAdjusters = new LinkedList<>();
this.relevantPedestrians = new HashSet<>();
this.timeCredit = INVALID_NEXT_EVENT_TIME;
this.timeOfNextStep = INVALID_NEXT_EVENT_TIME;
this.setVelocity(new Vector2D(0, 0));
......
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