class GeneratorTag extends Object
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
initial version Jul 23, 2015
| Modifier and Type | Field and Description |
|---|---|
(package private) org.djunits.value.vdouble.scalar.Time.Abs |
endTime
end time of generation.
|
(package private) org.opentrafficsim.core.gtu.animation.GTUColorer |
gtuColorer
GTU colorer.
|
(package private) GTUMixTag |
gtuMixTag
GTU mix tag.
|
(package private) GTUTag |
gtuTag
GTU tag.
|
(package private) org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Time.Rel,org.djunits.unit.TimeUnit> |
iatDist
interarrival time.
|
(package private) org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> |
initialSpeedDist
initial speed.
|
(package private) String |
laneName
lane name.
|
(package private) int |
maxGTUs
max number of generated GTUs.
|
(package private) String |
positionStr
position of the sink on the link, relative to the design line, stored as a string to parse when the length is known.
|
(package private) RouteMixTag |
routeMixTag
Route mix tag.
|
(package private) RouteTag |
routeTag
Route tag.
|
(package private) ShortestRouteMixTag |
shortestRouteMixTag
Shortest route mix tag.
|
(package private) ShortestRouteTag |
shortestRouteTag
Shortest route tag.
|
(package private) org.djunits.value.vdouble.scalar.Time.Abs |
startTime
start time of generation.
|
| Constructor and Description |
|---|
GeneratorTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
makeGenerator(GeneratorTag generatorTag,
XmlNetworkLaneParser parser,
LinkTag linkTag,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Make a generator.
|
(package private) static void |
makeGenerators(LinkTag linkTag,
XmlNetworkLaneParser parser,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Make the generators for this link, if available.
|
(package private) static void |
parseGenerator(Node node,
XmlNetworkLaneParser parser,
LinkTag linkTag)
Parse the GENERATOR tag.
|
String laneName
String positionStr
GTUTag gtuTag
GTUMixTag gtuMixTag
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Time.Rel,org.djunits.unit.TimeUnit> iatDist
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> initialSpeedDist
int maxGTUs
org.djunits.value.vdouble.scalar.Time.Abs startTime
org.djunits.value.vdouble.scalar.Time.Abs endTime
RouteTag routeTag
RouteMixTag routeMixTag
ShortestRouteTag shortestRouteTag
ShortestRouteMixTag shortestRouteMixTag
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer
static void parseGenerator(Node node, XmlNetworkLaneParser parser, LinkTag linkTag) throws SAXException, org.opentrafficsim.core.network.NetworkException
node - the GENERATOR node to parseparser - the parser with the lists of informationlinkTag - the parent LINK tagSAXException - when parsing of the tag failsorg.opentrafficsim.core.network.NetworkException - when parsing of the tag failsstatic void makeGenerators(LinkTag linkTag, XmlNetworkLaneParser parser, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) throws SimRuntimeException, org.opentrafficsim.core.network.NetworkException
linkTag - the parent LINK tagparser - the parser with the lists of informationsimulator - the simulator to schedule GTU generationSimRuntimeException - in case of simulation problems building the car generatororg.opentrafficsim.core.network.NetworkException - when route generator cannot be instantiatedstatic void makeGenerator(GeneratorTag generatorTag, XmlNetworkLaneParser parser, LinkTag linkTag, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) throws SimRuntimeException, org.opentrafficsim.core.network.NetworkException
generatorTag - XML tag for the generator to buildparser - the parser with the lists of informationlinkTag - the parent LINK tagsimulator - the simulator to schedule GTU generationSimRuntimeException - in case of simulation problems building the car generatororg.opentrafficsim.core.network.NetworkException - when route generator cannot be instantiatedCopyright © 2014–2015 Delft University of Technology. All rights reserved.