Commit 498ebb00 authored by BZoennchen's avatar BZoennchen

add further zhang-2011 scenarios.

parent f86292a8
......@@ -19,7 +19,8 @@
"def plotEvolution(vproject, ending, yval, ylabel):\n",
" plots = []\n",
" i = 1\n",
" plt.figure(1, figsize=(30, 10))\n",
" rows = len(vproject.output_dirs);\n",
" plt.figure(1, figsize=(30, 10*rows))\n",
" for outStr in project.output_dirs :\n",
" out = project.output_dirs[outStr]\n",
" dataFrames = []\n",
......@@ -34,7 +35,7 @@
" ndf['scenario'] = [out.scenario['name']] * len(df.density)\n",
" dataFrames.append(ndf)\n",
" #concatFrames = pd.concat(dataFrames)\n",
" plt.subplot(2, 1, i)\n",
" plt.subplot(rows, 1, i)\n",
" plt.title(out.scenario['name'])\n",
" plt.xlabel('timeStep')\n",
" plt.ylabel(ylabel)\n",
......@@ -51,13 +52,18 @@
" df = out.files[fileStr]()\n",
" ndf['density'] = df.density.astype(float)\n",
" ndf['velocity'] = df.velocity.astype(float)\n",
" ndf['scenario'] = [outStr] * len(df.velocity)\n",
" ndf['timeStep'] = df.timeStep.astype(int)\n",
" ndf['scenario'] = [fileStr] * len(df.velocity)\n",
" #ndf = ndf[ndf.timeStep > 100]\n",
" #ndf = ndf[ndf.timeStep < 500]\n",
" ndf = ndf[ndf.density < 4]\n",
" ndf = ndf[ndf.velocity > 0]\n",
" dataFrames.append(ndf)\n",
" concatFrames = pd.concat(dataFrames)\n",
" g = sns.relplot(x=\"density\", y=\"velocity\", hue=\"scenario\", data=concatFrames,\n",
" height=10, aspect=1)\n",
" g.set(xticks=[0,0.5,1,1.5,2,2.5,3,3.5,4], yticks=[0,0.5,1,1.5,2,2.5]);\n",
" g.savefig(\"./\"+vproject.project_name+\"_\"+ending+\"_fd\"+\".pdf\", bbox_inches='tight')\n",
" #axis = g.axes\n",
" #axes.set_xticks([0,1,2,3,4,5,6])\n",
" #axes.set_yticks([0,0.5,1,1.5,2,2.5])\n",
......@@ -85,8 +91,11 @@
" df = out.files[fileStr]()\n",
" ndf['density'] = df.density.astype(float)\n",
" ndf['velocity'] = df.velocity.astype(float)\n",
" ndf['timeStep'] = df.timeStep.astype(int)\n",
" ndf['scenario'] = [out.scenario['name']] * len(df.velocity)\n",
" #ndf = ndf[ndf.density < 7]\n",
" ndf = ndf[ndf.density < 4]\n",
" #ndf = ndf[ndf.timeStep > 100]\n",
" #ndf = ndf[ndf.timeStep < 300]\n",
" #plt.scatter()\n",
" #axes.set_title(out.scenario['name'])\n",
" axes.set_xlabel('density')\n",
......@@ -105,10 +114,10 @@
" axes.legend(['Weidmann', 'regression', 'Simulated data'])\n",
" index = index + 1;\n",
" if sep :\n",
" fig.savefig(\"./\"+out.scenario['name']+\"_fundamental_diagram\"+\".png\", bbox_inches='tight')\n",
" fig.savefig(\"./\"+out.scenario['name']+\"_\"+ending+\"_fd\"+\".pdf\", bbox_inches='tight')\n",
" plt.show()\n",
" if not sep :\n",
" fig.savefig(\"./\"+vproject.project_name+\"_fundamental_diagrams\"+\".png\", bbox_inches='tight')\n",
" fig.savefig(\"./\"+vproject.project_name+\"_\"+ending+\"_fd\"+\".pdf\", bbox_inches='tight')\n",
" "
]
},
......@@ -151,7 +160,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Method B Plots"
"#### Method B Plots"
]
},
{
......@@ -214,10 +223,12 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": false
},
"outputs": [],
"source": [
"np.linspace(0, 200, num=201).tolist()"
"plotEvolution(project, \"aTimeStep.fundamentalDiagram\", 'density', 'density')"
]
},
{
......@@ -287,7 +298,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.6.8"
}
},
"nbformat": 4,
......
......@@ -307,7 +307,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.6.8"
}
},
"nbformat": 4,
......
......@@ -19,7 +19,8 @@
"def plotEvolution(vproject, ending, yval, ylabel):\n",
" plots = []\n",
" i = 1\n",
" plt.figure(1, figsize=(30, 10))\n",
" rows = len(vproject.output_dirs);\n",
" plt.figure(1, figsize=(30, 10*rows))\n",
" for outStr in project.output_dirs :\n",
" out = project.output_dirs[outStr]\n",
" dataFrames = []\n",
......@@ -34,7 +35,7 @@
" ndf['scenario'] = [out.scenario['name']] * len(df.density)\n",
" dataFrames.append(ndf)\n",
" #concatFrames = pd.concat(dataFrames)\n",
" plt.subplot(2, 1, i)\n",
" plt.subplot(rows, 1, i)\n",
" plt.title(out.scenario['name'])\n",
" plt.xlabel('timeStep')\n",
" plt.ylabel(ylabel)\n",
......@@ -51,13 +52,18 @@
" df = out.files[fileStr]()\n",
" ndf['density'] = df.density.astype(float)\n",
" ndf['velocity'] = df.velocity.astype(float)\n",
" ndf['scenario'] = [outStr] * len(df.velocity)\n",
" ndf['timeStep'] = df.timeStep.astype(int)\n",
" ndf['scenario'] = [fileStr] * len(df.velocity)\n",
" #ndf = ndf[ndf.timeStep > 100]\n",
" #ndf = ndf[ndf.timeStep < 500]\n",
" ndf = ndf[ndf.density < 4]\n",
" ndf = ndf[ndf.velocity > 0]\n",
" dataFrames.append(ndf)\n",
" concatFrames = pd.concat(dataFrames)\n",
" g = sns.relplot(x=\"density\", y=\"velocity\", hue=\"scenario\", data=concatFrames,\n",
" height=10, aspect=1)\n",
" g.set(xticks=[0,0.5,1,1.5,2,2.5,3,3.5,4], yticks=[0,0.5,1,1.5,2,2.5]);\n",
" g.savefig(\"./\"+vproject.project_name+\"_\"+ending+\"_fd\"+\".pdf\", bbox_inches='tight')\n",
" #axis = g.axes\n",
" #axes.set_xticks([0,1,2,3,4,5,6])\n",
" #axes.set_yticks([0,0.5,1,1.5,2,2.5])\n",
......@@ -85,8 +91,11 @@
" df = out.files[fileStr]()\n",
" ndf['density'] = df.density.astype(float)\n",
" ndf['velocity'] = df.velocity.astype(float)\n",
" ndf['timeStep'] = df.timeStep.astype(int)\n",
" ndf['scenario'] = [out.scenario['name']] * len(df.velocity)\n",
" #ndf = ndf[ndf.density < 7]\n",
" ndf = ndf[ndf.density < 4]\n",
" #ndf = ndf[ndf.timeStep > 100]\n",
" #ndf = ndf[ndf.timeStep < 300]\n",
" #plt.scatter()\n",
" #axes.set_title(out.scenario['name'])\n",
" axes.set_xlabel('density')\n",
......@@ -105,10 +114,10 @@
" axes.legend(['Weidmann', 'regression', 'Simulated data'])\n",
" index = index + 1;\n",
" if sep :\n",
" fig.savefig(\"./\"+out.scenario['name']+\"_fundamental_diagram\"+\".png\", bbox_inches='tight')\n",
" fig.savefig(\"./\"+out.scenario['name']+\"_\"+ending+\"_fd\"+\".pdf\", bbox_inches='tight')\n",
" plt.show()\n",
" if not sep :\n",
" fig.savefig(\"./\"+vproject.project_name+\"_fundamental_diagrams\"+\".png\", bbox_inches='tight')\n",
" fig.savefig(\"./\"+vproject.project_name+\"_\"+ending+\"_fd\"+\".pdf\", bbox_inches='tight')\n",
" "
]
},
......@@ -151,7 +160,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Method B Plots"
"#### Method B Plots"
]
},
{
......@@ -214,10 +223,12 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": false
},
"outputs": [],
"source": [
"np.linspace(0, 200, num=201).tolist()"
"plotEvolution(project, \"aTimeStep.fundamentalDiagram\", 'density', 'density')"
]
},
{
......@@ -287,7 +298,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.6.8"
}
},
"nbformat": 4,
......
......@@ -49,22 +49,25 @@ public class CLGaussianCalculator {
int width = Math.max(filterObstacles.getMatrixWidth(), filterPedestrians.getMatrixWidth());
int height = Math.max(filterObstacles.getMatrixHeight(), filterPedestrians.getMatrixHeight());
BufferedImage image = createImage(width, height);
int maxColorValue = 255 * 255 * 255;
int maxColorValue = 20;
ColorHelper colorHelper = new ColorHelper(maxColorValue);
// double bound = filter.getMaxFilteredValue();
double max = 1.00;
double factor = maxColorValue / max;
//System.out.println(filterPedestrians.getMaxFilteredValue()); // 0.1259
double maxValue = Double.MIN_VALUE;
for (int x = 0; x < filterPedestrians.getMatrixWidth(); x++) {
for (int y = 0; y < filterPedestrians.getMatrixHeight(); y++) {
double pedValue = filterPedestrians.getFilteredValue(x, y);
double obsValue = filterObstacles.getFilteredValue(x, y);
double value = pedValue + obsValue;
// value = pedValue;
image.setRGB(x, y, colorHelper.numberToColor(value * factor).getRGB());
/*
image.setRGB(x, y, colorHelper.numberToColor(value ).getRGB());
if(maxValue < value) {
maxValue = value;
}
/*
* if(value <= 0.0) {
* image.setRGB(x, y, Color.WHITE.getRGB());
* } else {
......@@ -73,6 +76,7 @@ public class CLGaussianCalculator {
*/
}
}
System.out.println(maxValue);
return image;
}
......
......@@ -192,32 +192,32 @@
"targetAttractionStrength" : 1.0,
"timeCostAttributes" : {
"standardDeviation" : 0.7,
"type" : "OBSTACLES",
"obstacleDensityWeight" : 3.5,
"type" : "UNIT",
"obstacleDensityWeight" : 0.0,
"pedestrianSameTargetDensityWeight" : 3.5,
"pedestrianOtherTargetDensityWeight" : 3.5,
"pedestrianWeight" : 3.5,
"queueWidthLoading" : 1.0,
"queueWidthLoading" : 0.1,
"pedestrianDynamicWeight" : 6.0,
"loadingType" : "CONSTANT"
}
},
"org.vadere.state.attributes.models.AttributesOSM" : {
"stepCircleResolution" : 4,
"numberOfCircles" : 1,
"optimizationType" : "NELDER_MEAD",
"stepCircleResolution" : 30,
"numberOfCircles" : 6,
"optimizationType" : "DISCRETE",
"varyStepDirection" : true,
"movementType" : "ARBITRARY",
"stepLengthIntercept" : 0.4625,
"stepLengthSlopeSpeed" : 0.2345,
"stepLengthSD" : 0.0,
"movementThreshold" : 0.0,
"minStepLength" : 0.3,
"minStepLength" : 0.1,
"minimumStepLength" : true,
"maxStepDuration" : 1.7976931348623157E308,
"dynamicStepLength" : false,
"updateType" : "EVENT_DRIVEN",
"seeSmallWalls" : false,
"seeSmallWalls" : true,
"targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
"pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
"obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
......@@ -226,12 +226,12 @@
"org.vadere.state.attributes.models.AttributesPotentialCompactSoftshell" : {
"pedPotentialIntimateSpaceWidth" : 0.45,
"pedPotentialPersonalSpaceWidth" : 1.2,
"pedPotentialHeight" : 50.0,
"pedPotentialHeight" : 35.0,
"obstPotentialWidth" : 0.8,
"obstPotentialHeight" : 6.0,
"intimateSpaceFactor" : 1.2,
"obstPotentialHeight" : 4.0,
"intimateSpaceFactor" : 2.0,
"personalSpacePower" : 1,
"intimateSpacePower" : 1
"intimateSpacePower" : 2
}
},
"attributesSimulation" : {
......@@ -340,12 +340,13 @@
"startingWithRedLight" : false,
"nextSpeed" : -1.0
} ],
"absorbingAreas" : [ ],
"sources" : [ {
"id" : -1,
"shape" : {
"x" : 0.8,
"y" : 6.4,
"width" : 15.0,
"width" : 10.0,
"height" : 8.0,
"type" : "RECTANGLE"
},
......@@ -363,10 +364,10 @@
} ],
"dynamicElements" : [ ],
"attributesPedestrian" : {
"radius" : 0.195,
"radius" : 0.2,
"densityDependentSpeed" : false,
"speedDistributionMean" : 1.55,
"speedDistributionStandardDeviation" : 0.26,
"speedDistributionStandardDeviation" : 0.15,
"minimumSpeed" : 1.37,
"maximumSpeed" : 1.73,
"acceleration" : 2.0
......
......@@ -324,6 +324,7 @@
"startingWithRedLight" : false,
"nextSpeed" : -1.0
} ],
"absorbingAreas" : [ ],
"sources" : [ {
"id" : -1,
"shape" : {
......
{
"name" : "C-050-180-180_long",
"name" : "C-050-180-180_Q",
"description" : "",
"release" : "0.7",
"processWriters" : {
......@@ -61,7 +61,7 @@
"attributesType" : "org.vadere.state.attributes.processor.AttributesFundamentalDiagramAProcessor",
"attributes" : {
"pedestrianLineCrossProcessorId" : 8,
"pedestrianVelocityProcessorId" : 13,
"pedestrianVelocityProcessorId" : 7,
"deltaTime" : 10.0
}
}, {
......@@ -70,7 +70,7 @@
"attributesType" : "org.vadere.state.attributes.processor.AttributesPedestrianVelocityProcessor",
"attributes" : {
"pedestrianPositionProcessorId" : 1,
"backSteps" : 1
"backSteps" : 3
}
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianLineCrossProcessor",
......@@ -155,7 +155,7 @@
"attributesType" : "org.vadere.state.attributes.processor.AttributesPedestrianVelocityByTrajectoryProcessor",
"attributes" : {
"pedestrianTrajectoryProcessorId" : 10,
"backSteps" : 1
"backSteps" : 3
}
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.FundamentalDiagramEProcessor",
......@@ -192,32 +192,32 @@
"targetAttractionStrength" : 1.0,
"timeCostAttributes" : {
"standardDeviation" : 0.7,
"type" : "OBSTACLES",
"obstacleDensityWeight" : 3.5,
"type" : "QUEUEING",
"obstacleDensityWeight" : 0.1,
"pedestrianSameTargetDensityWeight" : 3.5,
"pedestrianOtherTargetDensityWeight" : 3.5,
"pedestrianWeight" : 3.5,
"queueWidthLoading" : 1.0,
"queueWidthLoading" : 3.0,
"pedestrianDynamicWeight" : 6.0,
"loadingType" : "CONSTANT"
}
},
"org.vadere.state.attributes.models.AttributesOSM" : {
"stepCircleResolution" : 4,
"numberOfCircles" : 1,
"optimizationType" : "NELDER_MEAD",
"stepCircleResolution" : 30,
"numberOfCircles" : 5,
"optimizationType" : "DISCRETE",
"varyStepDirection" : true,
"movementType" : "ARBITRARY",
"stepLengthIntercept" : 0.4625,
"stepLengthSlopeSpeed" : 0.2345,
"stepLengthSD" : 0.036,
"stepLengthSD" : 0.0,
"movementThreshold" : 0.0,
"minStepLength" : 0.3,
"minStepLength" : 0.1,
"minimumStepLength" : true,
"maxStepDuration" : 1.7976931348623157E308,
"dynamicStepLength" : false,
"updateType" : "EVENT_DRIVEN",
"seeSmallWalls" : false,
"seeSmallWalls" : true,
"targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
"pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
"obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
......@@ -226,12 +226,12 @@
"org.vadere.state.attributes.models.AttributesPotentialCompactSoftshell" : {
"pedPotentialIntimateSpaceWidth" : 0.45,
"pedPotentialPersonalSpaceWidth" : 1.2,
"pedPotentialHeight" : 50.0,
"pedPotentialHeight" : 35.0,
"obstPotentialWidth" : 0.8,
"obstPotentialHeight" : 6.0,
"intimateSpaceFactor" : 1.2,
"obstPotentialHeight" : 4.0,
"intimateSpaceFactor" : 2.0,
"personalSpacePower" : 1,
"intimateSpacePower" : 1
"intimateSpacePower" : 2
}
},
"attributesSimulation" : {
......@@ -340,21 +340,22 @@
"startingWithRedLight" : false,
"nextSpeed" : -1.0
} ],
"absorbingAreas" : [ ],
"sources" : [ {
"id" : -1,
"shape" : {
"x" : 0.8,
"y" : 6.4,
"width" : 15.0,
"width" : 10.0,
"height" : 8.0,
"type" : "RECTANGLE"
},
"interSpawnTimeDistribution" : "org.vadere.state.scenario.ConstantDistribution",
"distributionParameters" : [ 1.0 ],
"spawnNumber" : 4,
"maxSpawnNumberTotal" : 2000,
"spawnNumber" : 61,
"maxSpawnNumberTotal" : 61,
"startTime" : 0.0,
"endTime" : 200.0,
"endTime" : 0.0,
"spawnAtRandomPositions" : true,
"useFreeSpaceOnly" : true,
"targetIds" : [ 1 ],
......@@ -363,10 +364,10 @@
} ],
"dynamicElements" : [ ],
"attributesPedestrian" : {
"radius" : 0.195,
"radius" : 0.2,
"densityDependentSpeed" : false,
"speedDistributionMean" : 1.55,
"speedDistributionStandardDeviation" : 0.26,
"speedDistributionStandardDeviation" : 0.15,
"minimumSpeed" : 1.37,
"maximumSpeed" : 1.73,
"acceleration" : 2.0
......
......@@ -192,32 +192,32 @@
"targetAttractionStrength" : 1.0,
"timeCostAttributes" : {
"standardDeviation" : 0.7,
"type" : "OBSTACLES",
"obstacleDensityWeight" : 3.5,
"type" : "UNIT",
"obstacleDensityWeight" : 0.0,
"pedestrianSameTargetDensityWeight" : 3.5,
"pedestrianOtherTargetDensityWeight" : 3.5,
"pedestrianWeight" : 3.5,
"queueWidthLoading" : 1.0,
"queueWidthLoading" : 0.1,
"pedestrianDynamicWeight" : 6.0,
"loadingType" : "CONSTANT"
}
},
"org.vadere.state.attributes.models.AttributesOSM" : {
"stepCircleResolution" : 4,
"numberOfCircles" : 1,
"optimizationType" : "NELDER_MEAD",
"stepCircleResolution" : 30,
"numberOfCircles" : 6,
"optimizationType" : "DISCRETE",
"varyStepDirection" : true,
"movementType" : "ARBITRARY",
"stepLengthIntercept" : 0.4625,
"stepLengthSlopeSpeed" : 0.2345,
"stepLengthSD" : 0.0,
"movementThreshold" : 0.0,
"minStepLength" : 0.3,
"minStepLength" : 0.1,
"minimumStepLength" : true,
"maxStepDuration" : 1.7976931348623157E308,
"dynamicStepLength" : false,
"updateType" : "EVENT_DRIVEN",
"seeSmallWalls" : false,
"seeSmallWalls" : true,
"targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
"pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
"obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
......@@ -226,12 +226,12 @@
"org.vadere.state.attributes.models.AttributesPotentialCompactSoftshell" : {
"pedPotentialIntimateSpaceWidth" : 0.45,
"pedPotentialPersonalSpaceWidth" : 1.2,
"pedPotentialHeight" : 50.0,
"pedPotentialHeight" : 35.0,
"obstPotentialWidth" : 0.8,
"obstPotentialHeight" : 6.0,
"intimateSpaceFactor" : 1.2,
"obstPotentialHeight" : 4.0,
"intimateSpaceFactor" : 2.0,
"personalSpacePower" : 1,
"intimateSpacePower" : 1
"intimateSpacePower" : 2
}
},
"attributesSimulation" : {
......@@ -340,12 +340,13 @@
"startingWithRedLight" : false,
"nextSpeed" : -1.0
} ],
"absorbingAreas" : [ ],
"sources" : [ {
"id" : -1,
"shape" : {
"x" : 0.8,
"y" : 6.4,
"width" : 15.0,
"width" : 10.0,
"height" : 8.0,
"type" : "RECTANGLE"
},
......@@ -363,10 +364,10 @@
} ],
"dynamicElements" : [ ],
"attributesPedestrian" : {
"radius" : 0.195,
"radius" : 0.2,
"densityDependentSpeed" : false,
"speedDistributionMean" : 1.55,
"speedDistributionStandardDeviation" : 0.26,
"speedDistributionStandardDeviation" : 0.15,
"minimumSpeed" : 1.37,
"maximumSpeed" : 1.73,
"acceleration" : 2.0
......
{
"name" : "C-060-180-180_long",
"name" : "C-060-180-180_Q",
"description" : "",
"release" : "0.7",
"processWriters" : {
......@@ -192,32 +192,32 @@
"targetAttractionStrength" : 1.0,
"timeCostAttributes" : {
"standardDeviation" : 0.7,
"type" : "OBSTACLES",
"obstacleDensityWeight" : 3.5,
"type" : "QUEUEING",
"obstacleDensityWeight" : 0.1,
"pedestrianSameTargetDensityWeight" : 3.5,
"pedestrianOtherTargetDensityWeight" : 3.5,
"pedestrianWeight" : 3.5,
"queueWidthLoading" : 1.0,
"queueWidthLoading" : 3.0,
"pedestrianDynamicWeight" : 6.0,
"loadingType" : "CONSTANT"
}
},
"org.vadere.state.attributes.models.AttributesOSM" : {
"stepCircleResolution" : 4,
"numberOfCircles" : 1,
"optimizationType" : "NELDER_MEAD",
"stepCircleResolution" : 30,
"numberOfCircles" : 5,
"optimizationType" : "DISCRETE",
"varyStepDirection" : true,
"movementType" : "ARBITRARY",
"stepLengthIntercept" : 0.4625,
"stepLengthSlopeSpeed" : 0.2345,
"stepLengthSD" : 0.036,
"stepLengthSD" : 0.0,
"movementThreshold" : 0.0,
"minStepLength" : 0.3,
"minStepLength" : 0.1,
"minimumStepLength" : true,
"maxStepDuration" : 1.7976931348623157E308,
"dynamicStepLength" : false,
"updateType" : "EVENT_DRIVEN",
"seeSmallWalls" : false,
"seeSmallWalls" : true,
"targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
"pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
"obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
......@@ -226,12 +226,12 @@
"org.vadere.state.attributes.models.AttributesPotentialCompactSoftshell" : {
"pedPotentialIntimateSpaceWidth" : 0.45,
"pedPotentialPersonalSpaceWidth" : 1.2,
"pedPotentialHeight" : 50.0,
"pedPotentialHeight" : 35.0,
"obstPotentialWidth" : 0.8,
"obstPotentialHeight" : 6.0,
"intimateSpaceFactor" : 1.2,
"obstPotentialHeight" : 4.0,
"intimateSpaceFactor" : 2.0,
"personalSpacePower" : 1,
"intimateSpacePower" : 1
"intimateSpacePower" : 2
}
},
"attributesSimulation" : {
......@@ -340,21 +340,22 @@
"startingWithRedLight" : false,
"nextSpeed" : -1.0
} ],
"absorbingAreas" : [ ],
"sources" : [ {
"id" : -1,
"shape" : {
"x" : 0.8,
"y" : 6.4,
"width" : 15.0,
"width" : 10.0,
"height" : 8.0,
"type" : "RECTANGLE"
},
"interSpawnTimeDistribution" : "org.vadere.state.scenario.ConstantDistribution",
"distributionParameters" : [ 1.0 ],
"spawnNumber" : 4,
"maxSpawnNumberTotal" : 2000,
"spawnNumber" : 66,
"maxSpawnNumberTotal" : 66,
"startTime" : 0.0,
"endTime" : 200.0,
"endTime" : 0.0,
"spawnAtRandomPositions" : true,
"useFreeSpaceOnly" : true,
"targetIds" : [ 1 ],
......@@ -363,10 +364,10 @@
} ],
"dynamicElements" : [ ],
"attributesPedestrian" : {
"radius" : 0.195,
"radius" : 0.2,
"densityDependentSpeed" : false,
"speedDistributionMean" : 1.55,
"speedDistributionStandardDeviation" : 0.26,
"speedDistributionStandardDeviation" : 0.15,
"minimumSpeed" : 1.37,
"maximumSpeed" : 1.73,
"acceleration" : 2.0
......
......@@ -192,32 +192,32 @@
"targetAttractionStrength" : 1.0,
"timeCostAttributes" : {
"standardDeviation" : 0.7,
"type" : "OBSTACLES",
"obstacleDensityWeight" : 3.5,
"type" : "UNIT",
"obstacleDensityWeight" : 0.0,
"pedestrianSameTargetDensityWeight" : 3.5,
"pedestrianOtherTargetDensityWeight" : 3.5,
"pedestrianWeight" : 3.5,
"queueWidthLoading" : 1.0,
"queueWidthLoading" : 0.1,
"pedestrianDynamicWeight" : 6.0,
"loadingType" : "CONSTANT"
}
},
"org.vadere.state.attributes.models.AttributesOSM" : {
"stepCircleResolution" : 4,
"numberOfCircles" : 1,
"optimizationType" : "NELDER_MEAD",
"stepCircleResolution" : 30,
"numberOfCircles" : 6,
"optimizationType" : "DISCRETE",
"varyStepDirection" : true,
"movementType" : "ARBITRARY",
"stepLengthIntercept" : 0.4625,
"stepLengthSlopeSpeed" : 0.2345,
"stepLengthSD" : 0.0,
"movementThreshold" : 0.0,
"minStepLength" : 0.3,
"minStepLength" : 0.1,
"minimumStepLength" : true,
"maxStepDuration" : 1.7976931348623157E308,
"dynamicStepLength" : false,
"updateType" : "EVENT_DRIVEN",
"seeSmallWalls" : false,
"seeSmallWalls" : true,
"targetPotentialModel" : "org.vadere.simulator.models.potential.fields.PotentialFieldTargetGrid",
"pedestrianPotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldPedestrianCompactSoftshell",
"obstaclePotentialModel" : "org.vadere.simulator.models.potential.PotentialFieldObstacleCompactSoftshell",
......@@ -226,12 +226,12 @@
"org.vadere.state.attributes.models.AttributesPotentialCompactSoftshell" : {
"pedPotentialIntimateSpaceWidth" : 0.45,
"pedPotentialPersonalSpaceWidth" : 1.2,
"pedPotentialHeight" : 50.0,
"pedPotentialHeight" : 35.0,
"obstPotentialWidth" : 0.8,
"obstPotentialHeight" : 6.0,
"intimateSpaceFactor" : 1.2,
"obstPotentialHeight" : 4.0,
"intimateSpaceFactor" : 2.0,
"personalSpacePower" : 1,
"intimateSpacePower" : 1
"intimateSpacePower" : 2
}
},
"attributesSimulation" : {
......@@ -340,12 +340,13 @@
"startingWithRedLight" : false,
"nextSpeed" : -1.0
} ],
"absorbingAreas" : [ ],
"sources" : [ {
"id" : -1,