Uses of Class
org.opentrafficsim.road.gtu.generator.GtuSpawner
Packages that use GtuSpawner
Package
Description
Generate GTUs according to some prescription.
-
Uses of GtuSpawner in org.opentrafficsim.road.gtu.generator
Methods in org.opentrafficsim.road.gtu.generator that return GtuSpawnerModifier and TypeMethodDescriptionGtuSpawner.setBookkeeping(LaneBookkeeping bookkeeping) Sets how lane bookkeeping at lane changes is done.GtuSpawner.setErrorHandler(GtuErrorHandler errorHandler) Sets the error handler.GtuSpawner.setNoLaneChangeDistance(Length noLaneChangeDistance) Sets no lane change distance.GtuSpawner.setStream(nl.tudelft.simulation.jstats.streams.StreamInterface stream) Sets random stream.GtuSpawner.setUseDefaultGtuTemplate(BiFunction<GtuType, nl.tudelft.simulation.jstats.streams.StreamInterface, Optional<GtuTemplate>> defaultGtuTemplate) Sets the default GTU templates.