class GTUTag extends Object implements Serializable
Copyright (c) 2013-2016 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) GTUFollowingModelOld |
followingModel
GTU following model.
|
(package private) org.opentrafficsim.core.gtu.GTUType |
gtuType
Type.
|
(package private) LaneChangeModel |
laneChangeModel
Lane change model.
|
(package private) org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length,org.djunits.unit.LengthUnit> |
lengthDist
GTU length.
|
(package private) org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> |
maxSpeedDist
Maximum speed.
|
(package private) String |
name
Name.
|
(package private) org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length,org.djunits.unit.LengthUnit> |
widthDist
GTU width.
|
| Constructor and Description |
|---|
GTUTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
parseGTUs(NodeList nodeList,
XmlNetworkLaneParser parser) |
(package private) static org.opentrafficsim.core.gtu.GTUType |
parseGTUType(String typeName,
XmlNetworkLaneParser parser) |
String |
toString() |
String name
org.opentrafficsim.core.gtu.GTUType gtuType
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length,org.djunits.unit.LengthUnit> lengthDist
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length,org.djunits.unit.LengthUnit> widthDist
GTUFollowingModelOld followingModel
LaneChangeModel laneChangeModel
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> maxSpeedDist
static void parseGTUs(NodeList nodeList, XmlNetworkLaneParser parser) throws SAXException, org.opentrafficsim.core.network.NetworkException, org.opentrafficsim.core.gtu.GTUException
nodeList - nodeList the top-level nodes of the XML-fileparser - the parser with the lists of informationSAXException - when parsing of GTU tag failsorg.opentrafficsim.core.network.NetworkException - when parsing of GTU tag failsorg.opentrafficsim.core.gtu.GTUException - if GTUType defined twicestatic org.opentrafficsim.core.gtu.GTUType parseGTUType(String typeName, XmlNetworkLaneParser parser)
typeName - the name of the GTU type.parser - the parser with the lists of informationCopyright © 2014–2016 Delft University of Technology. All rights reserved.