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

Added test scenarios for salient behavior:...

Added test scenarios for salient behavior: "03-UnidirectionalFlow-OSMSequential.scenario" and "04-CounterFlow-OSMSequential.scenario".
parent 7c2211d7
...@@ -176,7 +176,10 @@ ...@@ -176,7 +176,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -212,7 +215,10 @@ ...@@ -212,7 +215,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -248,7 +254,10 @@ ...@@ -248,7 +254,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -284,7 +293,10 @@ ...@@ -284,7 +293,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -320,7 +332,10 @@ ...@@ -320,7 +332,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -356,7 +371,10 @@ ...@@ -356,7 +371,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -392,7 +410,10 @@ ...@@ -392,7 +410,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -428,7 +449,10 @@ ...@@ -428,7 +449,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -464,7 +488,10 @@ ...@@ -464,7 +488,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -500,7 +527,10 @@ ...@@ -500,7 +527,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -536,7 +566,10 @@ ...@@ -536,7 +566,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -572,7 +605,10 @@ ...@@ -572,7 +605,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -608,7 +644,10 @@ ...@@ -608,7 +644,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -631,7 +670,10 @@ ...@@ -631,7 +670,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"teleporter" : null, "teleporter" : null,
"attributesCar" : { "attributesCar" : {
...@@ -644,6 +686,9 @@ ...@@ -644,6 +686,9 @@
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10, "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0,
"length" : 4.5, "length" : 4.5,
"width" : 1.7, "width" : 1.7,
"direction" : { "direction" : {
......
{ {
"name" : "01-ExperimentSetup-OSMSequential", "name" : "02-ExperimentSetup-OSMSequential",
"description" : "", "description" : "",
"release" : "0.8", "release" : "0.8",
"processWriters" : { "processWriters" : {
...@@ -176,7 +176,10 @@ ...@@ -176,7 +176,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -212,7 +215,10 @@ ...@@ -212,7 +215,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -248,7 +254,10 @@ ...@@ -248,7 +254,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -284,7 +293,10 @@ ...@@ -284,7 +293,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -320,7 +332,10 @@ ...@@ -320,7 +332,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -356,7 +371,10 @@ ...@@ -356,7 +371,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -392,7 +410,10 @@ ...@@ -392,7 +410,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -428,7 +449,10 @@ ...@@ -428,7 +449,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -464,7 +488,10 @@ ...@@ -464,7 +488,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -500,7 +527,10 @@ ...@@ -500,7 +527,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -536,7 +566,10 @@ ...@@ -536,7 +566,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -572,7 +605,10 @@ ...@@ -572,7 +605,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -608,7 +644,10 @@ ...@@ -608,7 +644,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10 "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"idAsTarget" : -1, "idAsTarget" : -1,
"isChild" : false, "isChild" : false,
...@@ -631,7 +670,10 @@ ...@@ -631,7 +670,10 @@
"minimumSpeed" : 0.5, "minimumSpeed" : 0.5,
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 4 "footStepsToStore" : 4,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0
}, },
"teleporter" : null, "teleporter" : null,
"attributesCar" : { "attributesCar" : {
...@@ -644,6 +686,9 @@ ...@@ -644,6 +686,9 @@
"maximumSpeed" : 2.2, "maximumSpeed" : 2.2,
"acceleration" : 2.0, "acceleration" : 2.0,
"footStepsToStore" : 10, "footStepsToStore" : 10,
"searchRadius" : 1.0,
"angleCalculationType" : "USE_CENTER",
"targetOrientationAngleThreshold" : 45.0,
"length" : 4.5, "length" : 4.5,
"width" : 1.7, "width" : 1.7,
"direction" : { "direction" : {
......
{
"name" : "03-UnidirectionalFlow-OSMSequential",
"description" : "",
"release" : "0.8",
"processWriters" : {
"files" : [ {
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOutputFile",
"filename" : "postvis.trajectories",
"processors" : [ 1, 2 ]
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOverlapOutputFile",
"filename" : "overlaps.csv",
"processors" : [ 3 ]
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.NoDataKeyOutputFile",
"filename" : "overlapCount.txt",
"processors" : [ 4 ]
} ],
"processors" : [ {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianPositionProcessor",
"id" : 1
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianTargetIdProcessor",
"id" : 2
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianOverlapProcessor",
"id" : 3
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.NumberOverlapsProcessor",
"id" : 4,
"attributesType" : "org.vadere.state.attributes.processor.AttributesNumberOverlapsProcessor",
"attributes" : {
"pedestrianOverlapProcessorId" : 3
}
} ],
"isTimestamped" : true,
"isWriteMetaData" : false
},
"scenario" : {
"mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel",
"attributesModel" : {
"org.vadere.state.attributes.models.AttributesOSM" : {
"stepCircleResolution" : 4,
"numberOfCircles" : 1,
"optimizationType" : "NELDER_MEAD",
"varyStepDirection" : true,
"movementType" : "ARBITRARY",
"stepLengthIntercept" : 0.4625,
"stepLengthSlopeSpeed" : 0.2345,
"stepLengthSD" : 0.036,
"movementThreshold" : 0.0,
"minStepLength" : 0.1,
"minimumStepLength" : true,
"maxStepDuration" : 1.7976931348623157E308,
"dynamicStepLength" : true,
"updateType" : "SEQUENTIAL",
"seeSmallWalls" : false,
"targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
"pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
"obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
"submodels" : [ ]
},
"org.vadere.state.attributes.models.AttributesPotentialCompactSoftshell" : {
"pedPotentialIntimateSpaceWidth" : 0.45,
"pedPotentialPersonalSpaceWidth" : 1.2,
"pedPotentialHeight" : 50.0,
"obstPotentialWidth" : 0.8,
"obstPotentialHeight" : 6.0,
"intimateSpaceFactor" : 1.2,
"personalSpacePower" : 1,
"intimateSpacePower" : 1
},
"org.vadere.state.attributes.models.AttributesFloorField" : {
"createMethod" : "HIGH_ACCURACY_FAST_MARCHING",
"potentialFieldResolution" : 0.1,
"obstacleGridPenalty" : 0.1,
"targetAttractionStrength" : 1.0,
"timeCostAttributes" : {
"standardDeviation" : 0.7,
"type" : "UNIT",
"obstacleDensityWeight" : 3.5,
"pedestrianSameTargetDensityWeight" : 3.5,
"pedestrianOtherTargetDensityWeight" : 3.5,
"pedestrianWeight" : 3.5,
"queueWidthLoading" : 1.0,
"pedestrianDynamicWeight" : 6.0,
"loadingType" : "CONSTANT"
}
}
},
"attributesSimulation" : {
"finishTime" : 60.0,
"simTimeStepLength" : 0.4,
"realTimeSimTimeRatio" : 0.1,
"writeSimulationData" : true,
"visualizationEnabled" : true,
"printFPS" : false,
"digitsPerCoordinate" : 2,
"useFixedSeed" : true,
"fixedSeed" : 6138355022448163583,
"simulationSeed" : 0
},
"topography" : {
"attributes" : {
"bounds" : {
"x" : 0.0,
"y" : 0.0,
"width" : 20.0,
"height" : 3.0
},
"boundingBoxWidth" : 0.5,
"bounded" : true
},
"obstacles" : [ ],
"measurementAreas" : [ ],
"stairs" : [ ],
"targets" : [ {
"id" : 1,