class FillTag 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.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.unit.LengthUnit> |
distanceDist
Inter-vehicle distance.
|
(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.Speed,org.djunits.unit.SpeedUnit> |
initialSpeedDist
Initial speed.
|
(package private) String |
laneName
Lane name.
|
(package private) int |
maxGTUs
Maximmum number of generated GTUs.
|
(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.
|
| Constructor and Description |
|---|
FillTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
makeFill(FillTag fillTag,
XmlNetworkLaneParser parser,
LinkTag linkTag,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Make a fill of a Lane.
|
(package private) static void |
parseFill(Node node,
XmlNetworkLaneParser parser,
LinkTag linkTag)
Parse the FILL tag.
|
String laneName
GTUTag gtuTag
GTUMixTag gtuMixTag
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.unit.LengthUnit> distanceDist
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> initialSpeedDist
int maxGTUs
RouteTag routeTag
RouteMixTag routeMixTag
ShortestRouteTag shortestRouteTag
ShortestRouteMixTag shortestRouteMixTag
static void parseFill(Node node, XmlNetworkLaneParser parser, LinkTag linkTag) throws SAXException, org.opentrafficsim.core.network.NetworkException
node - the FILL 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 makeFill(FillTag fillTag, XmlNetworkLaneParser parser, LinkTag linkTag, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) throws SimRuntimeException, org.opentrafficsim.core.network.NetworkException
fillTag - 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–2016 Delft University of Technology. All rights reserved.