Commit 031e22de authored by Stefan Schuhbaeck's avatar Stefan Schuhbaeck
Browse files

add seed test scenarios

parent 762265fc
Pipeline #76188 failed with stages
in 2 minutes and 47 seconds
...@@ -62,7 +62,7 @@ run_origin_test: ...@@ -62,7 +62,7 @@ run_origin_test:
- Documentation/version-control/git-hook-vadere-software - Documentation/version-control/git-hook-vadere-software
- mvn clean - mvn clean
- mvn -Dmaven.test.skip=true package - mvn -Dmaven.test.skip=true package
- python3 Tools/ContinuousIntegration/install_vadere_analysis_tool.py - python3 Tools/VadereAnalysisTool/setup.py install
- python3 Tools/ContinuousIntegration/run_orign_translation_test.py - python3 Tools/ContinuousIntegration/run_orign_translation_test.py
run_seed_test: run_seed_test:
...@@ -72,5 +72,5 @@ run_seed_test: ...@@ -72,5 +72,5 @@ run_seed_test:
- Documentation/version-control/git-hook-vadere-software - Documentation/version-control/git-hook-vadere-software
- mvn clean - mvn clean
- mvn -Dmaven.test.skip=true package - mvn -Dmaven.test.skip=true package
- python3 Tools/ContinuousIntegration/install_vadere_analysis_tool.py - python3 Tools/VadereAnalysisTool/setup.py install
- python3 Tools/ContinuousIntegration/run_seed_comparison_test.py - python3 Tools/ContinuousIntegration/run_seed_comparison_test.py
{ {
"name" : "bridge_coordinates_kai", "name" : "bridge_timeCost_NAVIGATION",
"description" : "", "description" : "",
"release" : "0.6", "release" : "0.6",
"processWriters" : { "commithash" : "7083c1b72bc0488b47da0d0116a94f58ff462db7",
"files" : [ { "processWriters" : {
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOutputFile", "files" : [ {
"filename" : "postvis.trajectories", "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOutputFile",
"processors" : [ 1, 2 ] "filename" : "postvis.trajectories",
}, { "processors" : [ 1, 2 ]
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOverlapOutputFile", }, {
"filename" : "overlaps.csv", "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOverlapOutputFile",
"processors" : [ 3 ] "filename" : "overlaps.csv",
}, { "processors" : [ 3 ]
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.NoDataKeyOutputFile", }, {
"filename" : "overlapCount.txt", "type" : "org.vadere.simulator.projects.dataprocessing.outputfile.NoDataKeyOutputFile",
"processors" : [ 4 ] "filename" : "overlapCount.txt",
} ], "processors" : [ 4 ]
"processors" : [ { } ],
"type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianPositionProcessor", "processors" : [ {
"id" : 1 "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.PedestrianTargetIdProcessor",
}, { "id" : 2
"type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianOverlapProcessor", }, {
"id" : 3 "type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianOverlapProcessor",
}, { "id" : 3
"type" : "org.vadere.simulator.projects.dataprocessing.processor.NumberOverlapsProcessor", }, {
"id" : 4, "type" : "org.vadere.simulator.projects.dataprocessing.processor.NumberOverlapsProcessor",
"attributesType" : "org.vadere.state.attributes.processor.AttributesNumberOverlapsProcessor", "id" : 4,
"attributes" : { "attributesType" : "org.vadere.state.attributes.processor.AttributesNumberOverlapsProcessor",
"pedestrianOverlapProcessorId" : 3 "attributes" : {
} "pedestrianOverlapProcessorId" : 3
} ], }
"isTimestamped" : true } ],
}, "isTimestamped" : true
"scenario" : { },
"mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel", "scenario" : {
"attributesModel" : { "mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel",
"org.vadere.state.attributes.models.AttributesOSM" : { "attributesModel" : {
"stepCircleResolution" : 18, "org.vadere.state.attributes.models.AttributesOSM" : {
"numberOfCircles" : 1, "stepCircleResolution" : 18,
"varyStepDirection" : false, "numberOfCircles" : 1,
"stepLengthIntercept" : 0.4625, "varyStepDirection" : false,
"stepLengthSlopeSpeed" : 0.2345, "stepLengthIntercept" : 0.4625,
"stepLengthSD" : 0.036, "stepLengthSlopeSpeed" : 0.2345,
"movementThreshold" : 0.0, "stepLengthSD" : 0.036,
"optimizationType" : "NELDER_MEAD", "movementThreshold" : 0.0,
"movementType" : "ARBITRARY", "optimizationType" : "NELDER_MEAD",
"dynamicStepLength" : false, "movementType" : "ARBITRARY",
"updateType" : "EVENT_DRIVEN", "dynamicStepLength" : false,
"seeSmallWalls" : false, "updateType" : "EVENT_DRIVEN",
"minimumStepLength" : false, "seeSmallWalls" : false,
"targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid", "minimumStepLength" : false,
"pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell", "targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
"obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell", "pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
"submodels" : [ ] "obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
}, "submodels" : [ ]
"org.vadere.state.attributes.models.AttributesPotentialCompactSoftshell" : { },
"pedPotentialIntimateSpaceWidth" : 0.45, "org.vadere.state.attributes.models.AttributesPotentialCompactSoftshell" : {
"pedPotentialPersonalSpaceWidth" : 1.2, "pedPotentialIntimateSpaceWidth" : 0.45,
"pedPotentialHeight" : 50.0, "pedPotentialPersonalSpaceWidth" : 1.2,
"obstPotentialWidth" : 0.8, "pedPotentialHeight" : 50.0,
"obstPotentialHeight" : 6.0, "obstPotentialWidth" : 0.8,
"intimateSpaceFactor" : 1.2, "obstPotentialHeight" : 6.0,
"personalSpacePower" : 1, "intimateSpaceFactor" : 1.2,
"intimateSpacePower" : 1 "personalSpacePower" : 1,
}, "intimateSpacePower" : 1
"org.vadere.state.attributes.models.AttributesFloorField" : { },
"createMethod" : "HIGH_ACCURACY_FAST_MARCHING", "org.vadere.state.attributes.models.AttributesFloorField" : {
"potentialFieldResolution" : 0.1, "createMethod" : "HIGH_ACCURACY_FAST_MARCHING",
"obstacleGridPenalty" : 0.1, "potentialFieldResolution" : 0.1,
"targetAttractionStrength" : 1.0, "obstacleGridPenalty" : 0.1,
"timeCostAttributes" : { "targetAttractionStrength" : 1.0,
"standardDeviation" : 0.7, "timeCostAttributes" : {
"type" : "UNIT", "standardDeviation" : 0.7,
"obstacleDensityWeight" : 3.5, "type" : "NAVIGATION",
"pedestrianSameTargetDensityWeight" : 3.5, "obstacleDensityWeight" : 3.5,
"pedestrianOtherTargetDensityWeight" : 3.5, "pedestrianSameTargetDensityWeight" : 3.5,
"pedestrianWeight" : 3.5, "pedestrianOtherTargetDensityWeight" : 3.5,
"queueWidthLoading" : 1.0, "pedestrianWeight" : 3.5,
"pedestrianDynamicWeight" : 6.0, "queueWidthLoading" : 1.0,
"loadingType" : "CONSTANT" "pedestrianDynamicWeight" : 6.0,
} "loadingType" : "CONSTANT"
} }
}, }
"attributesSimulation" : { },
"finishTime" : 200.0, "attributesSimulation" : {
"simTimeStepLength" : 0.4, "finishTime" : 150.0,
"realTimeSimTimeRatio" : 0.0, "simTimeStepLength" : 0.4,
"writeSimulationData" : true, "realTimeSimTimeRatio" : 0.0,
"visualizationEnabled" : true, "writeSimulationData" : true,
"printFPS" : false, "visualizationEnabled" : true,
"digitsPerCoordinate" : 2, "printFPS" : false,
"useFixedSeed" : true, "digitsPerCoordinate" : 2,
"fixedSeed" : -3213925745664992646, "useFixedSeed" : true,
"simulationSeed" : 0 "fixedSeed" : -3213925745664992646,
}, "simulationSeed" : 0
"topography" : { },
"attributes" : { "topography" : {
"bounds" : { "attributes" : {
"x" : 564280.0, "bounds" : {
"y" : 5933391.0, "x" : 0.0,
"width" : 50.0, "y" : 0.0,
"height" : 50.0 "width" : 50.0,
}, "height" : 50.0
"boundingBoxWidth" : 0.5, },
"bounded" : true "boundingBoxWidth" : 0.5,
}, "bounded" : true
"obstacles" : [ { },
"shape" : { "obstacles" : [ {
"type" : "POLYGON", "shape" : {
"points" : [ { "type" : "POLYGON",
"x" : 564330.2959240791, "points" : [ {
"y" : 5933433.506680049 "x" : 50.295924079138786,
}, { "y" : 42.50668004900217
"x" : 564311.2959240791, }, {
"y" : 5933433.506680049 "x" : 31.295924079138786,
}, { "y" : 42.50668004900217
"x" : 564300.9318720899, }, {
"y" : 5933401.544835466 "x" : 20.931872089859098,
}, { "y" : 10.544835465960205
"x" : 564312.1291207125, }, {
"y" : 5933396.936819093 "x" : 32.12912071251776,
}, { "y" : 5.936819093301892
"x" : 564330.1291207125, }, {
"y" : 5933396.936819093 "x" : 50.12912071251776,
} ] "y" : 5.936819093301892
}, } ]
"id" : 1 },
}, { "id" : 1
"shape" : { }, {
"type" : "POLYGON", "shape" : {
"points" : [ { "type" : "POLYGON",
"x" : 564309.9431192318, "points" : [ {
"y" : 5933389.478288522 "x" : 29.94311923184432,
}, { "y" : -1.52171147800982
"x" : 564309.9431192318, }, {
"y" : 5933391.478288522 "x" : 29.94311923184432,
}, { "y" : 0.47828852199018
"x" : 564287.7114777192, }, {
"y" : 5933401.030658626 "x" : 7.711477719247341,
}, { "y" : 10.030658625997603
"x" : 564280.3263510215, }, {
"y" : 5933402.349890053 "x" : 0.32635102153290063,
}, { "y" : 11.349890053272247
"x" : 564280.3263510215, }, {
"y" : 5933390.349890053 "x" : 0.32635102153290063,
} ] "y" : -0.6501099467277527
}, } ]
"id" : 2 },
}, { "id" : 2
"shape" : { }, {
"type" : "POLYGON", "shape" : {
"points" : [ { "type" : "POLYGON",
"x" : 564283.8886836024, "points" : [ {
"y" : 5933411.251412248 "x" : 3.88868360244669,
}, { "y" : 20.25141224823892
"x" : 564290.0683166787, }, {
"y" : 5933406.240937642 "x" : 10.068316678749397,
}, { "y" : 15.240937641821802
"x" : 564295.4593781466, }, {
"y" : 5933403.808810473 "x" : 15.45937814656645,
}, { "y" : 12.808810473419726
"x" : 564303.4638894079, }, {
"y" : 5933436.907734532 "x" : 23.463889407925308,
}, { "y" : 45.90773453190923
"x" : 564280.4638894079, }, {
"y" : 5933436.907734532 "x" : 0.46388940792530775,
} ] "y" : 45.90773453190923
}, } ]
"id" : -1 },
} ], "id" : -1
"stairs" : [ ], } ],
"targets" : [ { "stairs" : [ ],
"id" : 1, "targets" : [ {
"absorbing" : true, "id" : 1,
"shape" : { "absorbing" : true,
"type" : "POLYGON", "shape" : {
"points" : [ { "type" : "POLYGON",
"x" : 564280.3, "points" : [ {
"y" : 5933402.3 "x" : 0.30000000004656613,
}, { "y" : 11.299999999813735
"x" : 564280.1, }, {
"y" : 5933403.7 "x" : 0.09999999997671694,
}, { "y" : 12.700000000186265
"x" : 564280.5, }, {
"y" : 5933414.2 "x" : 0.5,
}, { "y" : 23.200000000186265
"x" : 564283.9, }, {
"y" : 5933411.2 "x" : 3.900000000023283,
} ] "y" : 20.200000000186265
}, } ]
"waitingTime" : 0.0, },
"waitingTimeYellowPhase" : 0.0, "waitingTime" : 0.0,
"parallelWaiters" : 0, "waitingTimeYellowPhase" : 0.0,
"individualWaiting" : true, "parallelWaiters" : 0,
"deletionDistance" : 0.1, "individualWaiting" : true,
"startingWithRedLight" : false, "deletionDistance" : 0.1,
"nextSpeed" : -1.0 "startingWithRedLight" : false,
}, { "nextSpeed" : -1.0
"id" : 1, }, {
"absorbing" : true, "id" : 1,
"shape" : { "absorbing" : true,
"type" : "POLYGON", "shape" : {
"points" : [ { "type" : "POLYGON",
"x" : 564313.9, "points" : [ {
"y" : 5933391.2 "x" : 33.90000000002328,
}, { "y" : 0.20000000018626451
"x" : 564309.9, }, {
"y" : 5933391.5 "x" : 29.900000000023283,
}, { "y" : 0.5
"x" : 564312.3, }, {
"y" : 5933397.0 "x" : 32.300000000046566,
}, { "y" : 6.0
"x" : 564316.4, }, {
"y" : 5933395.9 "x" : 36.40000000002328,
} ] "y" : 4.900000000372529
}, } ]
"waitingTime" : 0.0, },
"waitingTimeYellowPhase" : 0.0, "waitingTime" : 0.0,
"parallelWaiters" : 0, "waitingTimeYellowPhase" : 0.0,
"individualWaiting" : true, "parallelWaiters" : 0,
"deletionDistance" : 0.1, "individualWaiting" : true,
"startingWithRedLight" : false, "deletionDistance" : 0.1,
"nextSpeed" : -1.0 "startingWithRedLight" : false,
} ], "nextSpeed" : -1.0
"sources" : [ { } ],
"id" : -1, "sources" : [ {
"shape" : { "id" : -1,
"x" : 564304.3, "shape" : {
"y" : 5933435.5, "x" : 24.300000000046566,
"width" : 8.0, "y" : 44.5,
"height" : 4.4, "width" : 8.0,
"type" : "RECTANGLE" "height" : 4.4,
}, "type" : "RECTANGLE"
"interSpawnTimeDistribution" : "org.vadere.state.scenario.ConstantDistribution", },
"distributionParameters" : [ 1.0 ], "interSpawnTimeDistribution" : "org.vadere.state.scenario.ConstantDistribution",
"spawnNumber" : 4, "distributionParameters" : [ 1.0 ],
"maxSpawnNumberTotal" : -1, "spawnNumber" : 4,
"startTime" : 0.0, "maxSpawnNumberTotal" : -1,
"endTime" : 100.0, "startTime" : 0.0,
"spawnAtRandomPositions" : false, "endTime" : 50.0,
"useFreeSpaceOnly" : true, "spawnAtRandomPositions" : true,
"targetIds" : [ 1 ], "useFreeSpaceOnly" : true,
"groupSizeDistribution" : [ 1.0 ], "targetIds" : [ 1 ],
"dynamicElementType" : "PEDESTRIAN" "groupSizeDistribution" : [ 1.0 ],
} ], "dynamicElementType" : "PEDESTRIAN"
"dynamicElements" : [ ], } ],
"attributesPedestrian" : { "dynamicElements" : [ ],
"radius" : 0.195, "attributesPedestrian" : {
"densityDependentSpeed" : false, "radius" : 0.195,
"speedDistributionMean" : 1.34, "densityDependentSpeed" : false,
"speedDistributionStandardDeviation" : 0.26, "speedDistributionMean" : 1.34,
"minimumSpeed" : 0.5, "speedDistributionStandardDeviation" : 0.26,
"maximumSpeed" : 2.2, "minimumSpeed" : 0.5,
"acceleration" : 2.0 "maximumSpeed" : 2.2,
}, "acceleration" : 2.0
"attributesCar" : { },
"id" : -1, "attributesCar" : {
"radius" : 0.195, "id" : -1,
"densityDependentSpeed" : false, "radius" : 0.195,
"speedDistributionMean" : 1.34, "densityDependentSpeed" : false,
"speedDistributionStandardDeviation" : 0.26, "speedDistributionMean" : 1.34,
"minimumSpeed" : 0.5, "speedDistributionStandardDeviation" : 0.26,
"maximumSpeed" : 2.2, "minimumSpeed" : 0.5,
"acceleration" : 2.0, "maximumSpeed" : 2.2,
"length" : 4.5, "acceleration" : 2.0,
"width" : 1.7, "length" : 4.5,
"direction" : { "width" : 1.7,
"x" : 1.0, "direction" : {
"y" : 0.0 "x" : 1.0,
} "y" : 0.0
} }
} }
} }
}
} }
\ No newline at end of file
{
"name" : "bridge_timeCost_NAVIGATION_GAME",
"description" : "",
"release" : "0.6",
"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
},
"scenario" : {
"mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel",
"attributesModel" : {
"org.vadere.state.attributes.models.AttributesOSM" : {
"stepCircleResolution" : 18,
"numberOfCircles" : 1,
"varyStepDirection" : false,
"stepLengthIntercept" : 0.4625,
"stepLengthSlopeSpeed" : 0.2345,
"stepLengthSD" : 0.036,
"movementThreshold" : 0.0,
"optimizationType" : "NELDER_MEAD",
"movementType" : "ARBITRARY",
"dynamicStepLength" : false,
"updateType" : "EVENT_DRIVEN",
"seeSmallWalls" : false,
"minimumStepLength" : 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" : {