Closed WJSchakel closed 1 year ago
GTUTEMPLATEMIX specifies its own RANDOMSTREAM. The current use of Distribution<LaneBasedTemplateGtuType> gtuTypeDistribution
is based on stream "generation"
. This ties in with issue #47.
GtuTemplateMix can now be parsed. If the mix defines a random stream, it is used. Otherwise the stream of the generator is used.
In
GeneratorSinkParser
the GTUTEMPLATEMIX tag is currently not implemented. See// TODO: GTUTEMPLATEMIX
. The surrounding code already usesDistribution<LaneBasedTemplateGtuType> gtuTypeDistribution
which is filled with 1 template if no mix is used. The GTUTEMPLATEMIX does have an attribute WEIGHT for each referenced GTUTEMPLATE. So the information and data structures are available and this can be implemented.