Repair typo

parent fcff9529
......@@ -93,7 +93,7 @@ public class SimulationState {
return pedestrianPositionMap.values();
}
public Map<Integer, VPoint> getPedestrainPositionMap() {
public Map<Integer, VPoint> getPedestrianPositionMap() {
return pedestrianPositionMap;
}
......
......@@ -16,7 +16,7 @@ public class PedestrianLastPositionProcessor extends Processor<PedestrianIdDataK
public void doUpdate(final SimulationState state) {
this.pedPosProc.update(state);
Map<Integer, VPoint> pedPosMap = state.getPedestrainPositionMap();
Map<Integer, VPoint> pedPosMap = state.getPedestrianPositionMap();
pedPosMap.keySet().forEach(pedId -> this.addValue(new PedestrianIdDataKey(pedId),
this.pedPosProc.getValue(new TimestepPedestrianIdDataKey(state.getStep(), pedId))));
}
......
......@@ -14,7 +14,7 @@ public class PedestrianOverlapProcessor extends Processor<TimestepPedestrianIdDa
@Override
protected void doUpdate(final SimulationState state) {
Map<Integer, VPoint> pedPosMap = state.getPedestrainPositionMap();
Map<Integer, VPoint> pedPosMap = state.getPedestrianPositionMap();
pedPosMap.entrySet().forEach(entry -> this.addValue(new TimestepPedestrianIdDataKey(state.getStep(), entry.getKey()), this.calculateOverlaps(pedPosMap, entry.getValue())));
}
......
......@@ -22,7 +22,7 @@ public class PedestrianPositionProcessor extends Processor<TimestepPedestrianIdD
@Override
protected void doUpdate(final SimulationState state) {
Integer timeStep = state.getStep();
Map<Integer, VPoint> pedPosMap = state.getPedestrainPositionMap();
Map<Integer, VPoint> pedPosMap = state.getPedestrianPositionMap();
for (Entry<Integer, VPoint> entry : pedPosMap.entrySet()) {
Integer pedId = entry.getKey();
......
......@@ -15,7 +15,7 @@ public class PedestrianWaitingEndTimeProcessor extends Processor<PedestrianIdDat
@Override
protected void doUpdate(final SimulationState state) {
Map<Integer, VPoint> pedPosMap = state.getPedestrainPositionMap();
Map<Integer, VPoint> pedPosMap = state.getPedestrianPositionMap();
for (Map.Entry<Integer, VPoint> entry : pedPosMap.entrySet()) {
int pedId = entry.getKey();
......
......@@ -18,7 +18,7 @@ public class PedestrianWaitingTimeProcessor extends Processor<PedestrianIdDataKe
@Override
protected void doUpdate(final SimulationState state) {
Map<Integer, VPoint> pedPosMap = state.getPedestrainPositionMap();
Map<Integer, VPoint> pedPosMap = state.getPedestrianPositionMap();
double dt = state.getSimTimeInSec() - this.lastSimTime;
......
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