05.11., 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit f95b3355 authored by Timy Phan's avatar Timy Phan

changed SetLogNameCommand

parent 26068c1e
Pipeline #95982 failed with stages
in 51 seconds
......@@ -5,6 +5,14 @@ import net.sourceforge.argparse4j.inf.ArgumentAction;
import net.sourceforge.argparse4j.inf.ArgumentParser;
import net.sourceforge.argparse4j.inf.ArgumentParserException;
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.core.LoggerContext;
import org.apache.logging.log4j.core.appender.ConsoleAppender;
import org.apache.logging.log4j.core.appender.FileAppender;
import org.apache.logging.log4j.core.config.Configurator;
import org.apache.logging.log4j.core.config.builder.api.*;
import org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration;
import org.apache.logging.log4j.core.layout.PatternLayout;
import org.vadere.util.logging.Logger;
import java.util.Map;
......@@ -13,7 +21,65 @@ public class SetLogNameCommand implements ArgumentAction {
@Override
public void run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) throws ArgumentParserException {
String filename = (String) value;
// Logger.setFileName(filename); //todo set Filename of Log-file
/* ConfigurationBuilder<BuiltConfiguration> builder = ConfigurationBuilderFactory.newConfigurationBuilder();
builder.setStatusLevel(Level.ERROR);
builder.setConfigurationName(filename);
// create a rolling file appender
LayoutComponentBuilder layoutBuilder = builder.newLayout("PatternLayout")
.addAttribute("pattern", "%d [%t] %-5level: %msg%n");
ComponentBuilder triggeringPolicy = builder.newComponent("Policies")
.addComponent(builder.newComponent("SizeBasedTriggeringPolicy").addAttribute("size", "10M"));
AppenderComponentBuilder appenderBuilder = builder.newAppender(filename, "RollingFile")
.addAttribute("fileName", filename)
.addAttribute("filePattern", filename + "-%d{MM-dd-yy}.log.gz")
.add(layoutBuilder)
.addComponent(triggeringPolicy);
builder.add(appenderBuilder);
// create the new logger
builder.add(builder.newLogger("SpecifiedFileLogger", Level.DEBUG)
.add(builder.newAppenderRef(filename))
.addAttribute("additivity", false));
builder.add(builder.newRootLogger(Level.DEBUG)
.add(builder.newAppenderRef(filename)));
LoggerContext ctx = Configurator.initialize(builder.build());*/
ConfigurationBuilder< BuiltConfiguration > builder = ConfigurationBuilderFactory.newConfigurationBuilder();
builder.setStatusLevel( Level.ERROR);
builder.setConfigurationName("RollingBuilder");
// create a console appender
AppenderComponentBuilder appenderBuilder = builder.newAppender("Stdout", "CONSOLE").addAttribute("target",
ConsoleAppender.Target.SYSTEM_OUT);
appenderBuilder.add(builder.newLayout("PatternLayout")
.addAttribute("pattern", "%d [%t] %-5level: %msg%n%throwable"));
builder.add( appenderBuilder );
// create a rolling file appender
LayoutComponentBuilder layoutBuilder = builder.newLayout("PatternLayout")
.addAttribute("pattern", "%d [%t] %-5level: %msg%n");
ComponentBuilder triggeringPolicy = builder.newComponent("Policies")
.addComponent(builder.newComponent("CronTriggeringPolicy").addAttribute("schedule", "0 0 0 * * ?"))
.addComponent(builder.newComponent("SizeBasedTriggeringPolicy").addAttribute("size", "100M"));
appenderBuilder = builder.newAppender("rolling", "RollingFile")
.addAttribute("fileName", "target/rolling.log")
.addAttribute("filePattern", "target/archive/rolling-%d{MM-dd-yy}.log.gz")
.add(layoutBuilder)
.addComponent(triggeringPolicy);
builder.add(appenderBuilder);
// create the new logger
builder.add( builder.newLogger( "TestLogger", Level.DEBUG )
.add( builder.newAppenderRef( "rolling" ) )
.addAttribute( "additivity", false ) );
builder.add( builder.newRootLogger( Level.DEBUG )
.add( builder.newAppenderRef( "rolling" ) ) );
LoggerContext ctx = Configurator.initialize(builder.build());
// FIXME: Create a "FileAppender" which writes to "filename".
// See http://logging.apache.org/log4j/2.x/manual/customconfig.html and
// https://stackoverflow.com/questions/15441477/how-to-add-log4j2-appenders-at-runtime-programmatically/33472893#33472893
// Logger.setFileName(filename); //todo set Filename of Log-file
}
@Override
......
{
"name" : "basic_2_density_discrete_ca",
"description" : "",
"release" : "0.7",
"commithash" : "26068c1e63af26e151551cb12f4df11f81e51679",
"processWriters" : {
"files" : [ {
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOutputFile",
"filename" : "density.txt",
"processors" : [ 1 ]
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOverlapOutputFile",
"filename" : "out.txt",
"processors" : [ 3 ]
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.NoDataKeyOutputFile",
"filename" : "out1.txt",
"processors" : [ 4 ]
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOutputFile",
"filename" : "postvis.trajectories",
"processors" : [ 1, 2 ]
} ],
"processors" : [ {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianDensityCountingProcessor",
"id" : 1,
"attributesType" : "org.vadere.state.attributes.processor.AttributesPedestrianDensityCountingProcessor",
"attributes" : {
"pedestrianPositionProcessorId" : 2,
"radius" : 1.5
}
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianPositionProcessor",
"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
}
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.MaxOverlapProcessor",
"id" : 5,
"attributesType" : "org.vadere.state.attributes.processor.AttributesMaxOverlapProcessor",
"attributes" : {
"pedestrianOverlapProcessorId" : 3
}
} ],
"isTimestamped" : true,
"isWriteMetaData" : false
},
"scenario" : {
"mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel",
"attributesModel" : {
"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"
}
},
"org.vadere.state.attributes.models.AttributesOSM" : {
"stepCircleResolution" : 18,
"numberOfCircles" : 1,
"optimizationType" : "DISCRETE",
"varyStepDirection" : false,
"movementType" : "ARBITRARY",
"stepLengthIntercept" : 0.4625,
"stepLengthSlopeSpeed" : 0.2345,
"stepLengthSD" : 0.036,
"movementThreshold" : 0.0,
"minStepLength" : 0.4625,
"minimumStepLength" : false,
"maxStepDuration" : 1.7976931348623157E308,
"dynamicStepLength" : false,
"updateType" : "EVENT_DRIVEN",
"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
}
},
"attributesSimulation" : {
"finishTime" : 200.0,
"simTimeStepLength" : 0.4,
"realTimeSimTimeRatio" : 0.0,
"writeSimulationData" : true,
"visualizationEnabled" : true,
"printFPS" : false,
"digitsPerCoordinate" : 2,
"useFixedSeed" : true,
"fixedSeed" : 1,
"simulationSeed" : 1
},
"topography" : {
"attributes" : {
"bounds" : {
"x" : 0.0,
"y" : 0.0,
"width" : 38.0,
"height" : 12.0
},
"boundingBoxWidth" : 0.5,
"bounded" : true
},
"obstacles" : [ {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 9.0,
"y" : 12.0
}, {
"x" : 9.0,
"y" : 10.0
}, {
"x" : 30.0,
"y" : 7.0
}, {
"x" : 30.0,
"y" : 12.0
} ]
},
"id" : -1
}, {
"shape" : {
"type" : "POLYGON",
"points" : [ {
"x" : 9.0,
"y" : 0.0
}, {
"x" : 9.0,
"y" : 2.0
}, {
"x" : 30.0,
"y" : 5.0
}, {
"x" : 30.0,
"y" : 0.0
} ]
},
"id" : -1
} ],
"stairs" : [ ],
"targets" : [ {
"id" : 1,
"absorbing" : true,
"shape" : {
"x" : 35.0,
"y" : 5.0,
"width" : 2.0,
"height" : 2.0,
"type" : "RECTANGLE"
},
"waitingTime" : 0.0,
"waitingTimeYellowPhase" : 0.0,
"parallelWaiters" : 0,
"individualWaiting" : true,
"deletionDistance" : 0.1,
"startingWithRedLight" : false,
"nextSpeed" : -1.0
} ],
"absorbingAreas" : [ ],
"sources" : [ {
"id" : -1,
"shape" : {
"x" : 1.0,
"y" : 1.0,
"width" : 5.0,
"height" : 10.0,
"type" : "RECTANGLE"
},
"interSpawnTimeDistribution" : "org.vadere.state.scenario.ConstantDistribution",
"distributionParameters" : [ 1.0 ],
"spawnNumber" : 200,
"maxSpawnNumberTotal" : -1,
"startTime" : 0.0,
"endTime" : 0.0,
"spawnAtRandomPositions" : true,
"useFreeSpaceOnly" : true,
"targetIds" : [ 1 ],
"groupSizeDistribution" : [ 1.0 ],
"dynamicElementType" : "PEDESTRIAN"
} ],
"dynamicElements" : [ ],
"attributesPedestrian" : {
"radius" : 0.195,
"densityDependentSpeed" : false,
"speedDistributionMean" : 1.34,
"speedDistributionStandardDeviation" : 0.26,
"minimumSpeed" : 0.5,
"maximumSpeed" : 2.2,
"acceleration" : 2.0
},
"teleporter" : null,
"attributesCar" : null
},
"eventInfos" : [ ]
}
}
timeStep pedestrianId overlapPedestrianId distance overlaps
2 21 103 0.3833862369264527 0.00661376307354733
2 37 150 0.3860636266664705 0.00393637333352953
2 42 61 0.38877559735957423 0.0012244026404257813
2 87 104 0.3782189675957835 0.011781032404216518
3 21 103 0.3833862369264527 0.00661376307354733
3 37 150 0.3860636266664705 0.00393637333352953
3 42 61 0.38877559735957423 0.0012244026404257813
3 87 104 0.3782189675957835 0.011781032404216518
3 148 173 0.3778433400005711 0.012156659999428887
4 21 103 0.3833862369264527 0.00661376307354733
4 45 120 0.3864407467238829 0.0035592532761171136
4 48 138 0.3864687773939363 0.0035312226060636998
4 65 84 0.3784957682004206 0.011504231799579434
4 117 124 0.38326446357091826 0.0067355364290817565
4 148 173 0.3778433400005711 0.012156659999428887
5 21 103 0.3833862369264527 0.00661376307354733
5 41 97 0.382154597293852 0.00784540270614803
5 48 138 0.3864687773939363 0.0035312226060636998
5 117 124 0.38326446357091826 0.0067355364290817565
6 48 138 0.3864687773939363 0.0035312226060636998
6 77 139 0.38173282335176595 0.008267176648234065
6 95 195 0.38913826397184 8.617360281600317E-4
7 99 152 0.3820035166754422 0.007996483324557824
8 4 137 0.38111813900824537 0.008881860991754642
8 33 182 0.3814859519687385 0.00851404803126149
8 40 159 0.38591065853569784 0.004089341464302176
8 72 166 0.3798512454448107 0.010148754555189321
9 72 166 0.3798512454448107 0.010148754555189321
9 83 118 0.388742866463918 0.0012571335360820335
10 72 166 0.3798512454448107 0.010148754555189321
10 83 118 0.388742866463918 0.0012571335360820335
11 4 82 0.38957863034112444 4.2136965887557E-4
11 7 124 0.37870924385328186 0.01129075614671815
11 69 94 0.3835121052541569 0.0064878947458431035
11 72 166 0.3798512454448107 0.010148754555189321
11 141 170 0.3889752076845873 0.0010247923154126926
12 141 170 0.3889752076845873 0.0010247923154126926
13 20 76 0.38240698813164703 0.0075930118683529835
16 57 190 0.3886466659127286 0.0013533340872713961
17 57 190 0.3886466659127286 0.0013533340872713961
18 57 190 0.3886466659127286 0.0013533340872713961
19 9 169 0.3874238194677871 0.002576180532212924
19 12 17 0.3881388176113476 0.0018611823886524048
19 57 190 0.3886466659127286 0.0013533340872713961
19 85 112 0.3844336231404949 0.005566376859505118
21 43 132 0.3822163228912754 0.007783677108724629
22 43 132 0.3822163228912754 0.007783677108724629
23 48 49 0.38908849053098227 9.115094690177461E-4
24 112 125 0.3869342936622071 0.003065706337792906
29 1 113 0.38561132804478726 0.004388671955212753
29 16 107 0.38721318071599187 0.0027868192840081463
30 1 113 0.38561132804478726 0.004388671955212753
32 1 105 0.3886507274385258 0.001349272561474213
34 114 127 0.38982127018933554 1.7872981066446858E-4
35 2 191 0.3785317587495187 0.011468241250481293
40 82 195 0.3895103917287511 4.89608271248887E-4
43 23 63 0.38570941808166215 0.004290581918337866
44 23 63 0.38570941808166215 0.004290581918337866
44 46 87 0.38669805853353106 0.0033019414664689495
45 26 127 0.3855857863915764 0.0044142136084235895
46 92 113 0.38566928080673474 0.0043307191932652755
47 142 152 0.38212020845743405 0.007879791542565961
48 130 169 0.38261702596837316 0.007382974031626854
52 75 188 0.387739651155336 0.0022603488446640285
54 41 199 0.38829769803270414 0.0017023019672958717
54 94 103 0.37918723921642417 0.010812760783575848
55 9 19 0.387485544567615 0.0025144554323849877
55 12 138 0.38264570802823933 0.007354291971760685
56 75 188 0.3808454411863458 0.009154558813654234
57 11 93 0.38244698864163934 0.007553011358360673
58 72 105 0.3869566925676787 0.0030433074323213405
58 85 106 0.3838888886004224 0.006111111399577596
59 3 126 0.3816885513712231 0.008311448628776918
59 62 198 0.38060391784319797 0.009396082156802044
60 126 186 0.38433760848320625 0.005662391516793763
61 62 147 0.3777933144933325 0.012206685506667536
61 79 138 0.384204042843032 0.005795957156968012
61 82 86 0.38768261461235926 0.002317385387640758
61 99 124 0.38654885265447264 0.0034511473455273722
61 104 182 0.3800495193274073 0.009950480672592688
63 17 162 0.3893506702572071 6.493297427929146E-4
63 159 188 0.38512463724250423 0.0048753627574957825
64 1 10 0.3864822157887203 0.0035177842112797397
64 4 195 0.3839247049060311 0.006075295093968924
65 1 10 0.3864822157887203 0.0035177842112797397
65 4 49 0.376630604865072 0.01336939513492802
65 35 75 0.38059799483309903 0.009402005166900984
65 53 169 0.3791284517280341 0.010871548271965903
66 4 49 0.376630604865072 0.01336939513492802
66 35 75 0.38059799483309903 0.009402005166900984
66 53 169 0.3791284517280341 0.010871548271965903
66 65 195 0.3777879820812203 0.012212017918779738
66 106 188 0.38324732657300675 0.006752673426993261
66 132 171 0.3872310656443206 0.002768934355679431
67 42 69 0.3886821483870802 0.001317851612919807
67 65 195 0.3777879820812203 0.012212017918779738
67 84 108 0.384622366106428 0.005377633893571987
67 93 140 0.389335108646842 6.648913531580036E-4
68 1 49 0.3876686780587188 0.002331321941281217
68 65 195 0.3777879820812203 0.012212017918779738
68 78 189 0.38858577333910066 0.0014142266608993537
68 117 124 0.38421796449775514 0.0057820355022448755
69 1 49 0.3876686780587188 0.002331321941281217
69 71 133 0.3825089050379694 0.007491094962030598
69 86 199 0.38072070348762493 0.00927929651237508
70 72 182 0.3813988953391782 0.008601104660821812
70 114 140 0.38478464583243044 0.005215354167569575
71 33 110 0.38863887439676875 0.0013611256032312613
71 104 164 0.38832608474632024 0.0016739152536797697
72 90 130 0.3868741642097498 0.00312583579025022
74 16 75 0.382088993274705 0.007911006725294989
74 17 104 0.3766057594325075 0.0133942405674925
75 16 75 0.382088993274705 0.007911006725294989
75 31 131 0.38776540918563546 0.0022345908143645565
75 83 188 0.3835720958577981 0.006427904142201901
76 31 131 0.38776540918563546 0.0022345908143645565
76 91 176 0.3803353183452354 0.00966468165476464
76 114 167 0.37972454029785535 0.010275459702144663
77 16 106 0.3877470482195762 0.0022529517804238397
77 128 200 0.37903660606347767 0.010963393936522348
78 16 75 0.3848730126982275 0.005126987301772523
79 5 187 0.3858883083546304 0.0041116916453696195
79 12 71 0.3883023272035186 0.0016976727964814198
79 14 93 0.38733550895380714 0.002664491046192874
80 12 71 0.3883023272035186 0.0016976727964814198
83 25 134 0.389445654391017 5.543456089829868E-4
84 25 134 0.389445654391017 5.543456089829868E-4
84 75 99 0.3846082089250501 0.005391791074949914
85 25 134 0.389445654391017 5.543456089829868E-4
86 25 134 0.389445654391017 5.543456089829868E-4
87 25 134 0.389445654391017 5.543456089829868E-4
87 72 187 0.38014086065954883 0.009859139340451184
87 118 171 0.3894331899703309 5.668100296691292E-4
87 121 163 0.38595570378842387 0.004044296211576148
88 25 94 0.3892264785831157 7.735214168843041E-4
88 52 132 0.37597819563525814 0.014021804364741874
88 72 187 0.38014086065954883 0.009859139340451184
88 118 171 0.3894331899703309 5.668100296691292E-4
89 25 94 0.3892264785831157 7.735214168843041E-4
89 134 188 0.38084965117149977 0.009150348828500243
90 132 171 0.3871362910556442 0.002863708944355836
90 134 188 0.38084965117149977 0.009150348828500243
90 143 176 0.3809580545493736 0.00904194545062642
91 126 131 0.38697537932291415 0.0030246206770858652
91 132 171 0.37737718567967315 0.012622814320326858
92 99 179 0.38522310250612324 0.004776897493876775
93 20 133 0.38475630147210843 0.005243698527891583
94 3 118 0.38331705425793966 0.006682945742060353
95 3 118 0.38331705425793966 0.006682945742060353
95 99 196 0.3885036752437759 0.0014963247562241322
99 5 99 0.38743122406058034 0.0025687759394196763
99 40 146 0.38336345405396777 0.006636545946032246
100 40 146 0.38336345405396777 0.006636545946032246
100 139 189 0.3864946760918377 0.0035053239081623278
101 139 189 0.3864946760918377 0.0035053239081623278
102 18 166 0.38542818620454333 0.004571813795456681
102 27 123 0.3821609082758641 0.007839091724135938
102 52 191 0.3768760741044727 0.0131239258955273
102 117 124 0.38867677465516937 0.0013232253448306475
103 117 124 0.38867677465516937 0.0013232253448306475
104 145 171 0.38205086124747795 0.007949138752522067
105 88 114 0.38886318220063576 0.0011368177993642536
105 129 149 0.38475832233466484 0.005241677665335176
105 145 171 0.38205086124747795 0.007949138752522067
106 13 43 0.38370978130991756 0.00629021869008245
106 18 118 0.38630221156953115 0.0036977884304688624
106 25 54 0.3854767319635624 0.0045232680364376
106 88 114 0.38886318220063576 0.0011368177993642536
106 145 171 0.38205086124747795 0.007949138752522067
107 25 54 0.3854767319635624 0.0045232680364376
107 43 61 0.389364723334616 6.352766653839881E-4
109 129 149 0.38022358495192937 0.009776415048070641
116 6 137 0.3797231931842946 0.01027680681570542
117 54 89 0.3835595913589949 0.006440408641005091
121 163 176 0.3860101191411015 0.003989880858898509
122 141 184 0.38034786777176594 0.009652132228234078
123 83 176 0.3793769706213469 0.010623029378653115
124 6 18 0.38201819689971384 0.007981803100286178
125 18 28 0.38938809074026914 6.119092597308695E-4
126 39 132 0.3891177218390141 8.822781609859054E-4
128 13 145 0.38886588915649883 0.0011341108435011793
128 31 177 0.38294203484628636 0.007057965153713652
131 52 171 0.3809913173393307 0.009008682660669287
131 53 130 0.38086118221799947 0.009138817782000541
132 52 171 0.3809913173393307 0.009008682660669287
133 129 132 0.38004471669060386 0.009955283309396157
134 83 189 0.3893237841664871 6.762158335129054E-4
134 129 132 0.38004471669060386 0.009955283309396157
{
"name" : "basic_2_density_discrete_ca",
"description" : "",
"release" : "0.7",
"commithash" : "26068c1e63af26e151551cb12f4df11f81e51679",
"processWriters" : {
"files" : [ {
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOutputFile",
"filename" : "density.txt",
"processors" : [ 1 ]
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOverlapOutputFile",
"filename" : "out.txt",
"processors" : [ 3 ]
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.NoDataKeyOutputFile",
"filename" : "out1.txt",
"processors" : [ 4 ]
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.outputfile.TimestepPedestrianIdOutputFile",
"filename" : "postvis.trajectories",
"processors" : [ 1, 2 ]
} ],
"processors" : [ {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianDensityCountingProcessor",
"id" : 1,
"attributesType" : "org.vadere.state.attributes.processor.AttributesPedestrianDensityCountingProcessor",
"attributes" : {
"pedestrianPositionProcessorId" : 2,
"radius" : 1.5
}
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.PedestrianPositionProcessor",
"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
}
}, {
"type" : "org.vadere.simulator.projects.dataprocessing.processor.MaxOverlapProcessor",
"id" : 5,
"attributesType" : "org.vadere.state.attributes.processor.AttributesMaxOverlapProcessor",
"attributes" : {
"pedestrianOverlapProcessorId" : 3
}
} ],
"isTimestamped" : true,
"isWriteMetaData" : false
},
"scenario" : {
"mainModel" : "org.vadere.simulator.models.osm.OptimalStepsModel",
"attributesModel" : {
"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"
}
},
"org.vadere.state.attributes.models.AttributesOSM" : {
"stepCircleResolution" : 18,
"numberOfCircles" : 1,
"optimizationType" : "DISCRETE",
"varyStepDirection" : false,
"movementType" : "ARBITRARY",
"stepLengthIntercept" : 0.4625,
"stepLengthSlopeSpeed" : 0.2345,
"stepLengthSD" : 0.036,
"movementThreshold" : 0.0,
"minStepLength" : 0.4625,
"minimumStepLength" : false,
"maxStepDuration" : 1.7976931348623157E308,
"dynamicStepLength" : false,
"updateType" : "EVENT_DRIVEN",
"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,