public final class Transformer extends Object
| Modifier and Type | Method and Description |
|---|---|
static ArrivalsHeadwayGenerator.HeadwayDistribution |
parseHeadwayDistribution(String v) |
static LaneKeepingPolicy |
parseLaneKeepingPolicy(String lkpStr) |
static Length |
parseLengthBeginEnd(LengthBeginEnd lbe,
Length laneLength)
Parse LengthBeginEnd for a Lane.
|
static LaneBasedGTUGenerator.RoomChecker |
parseRoomChecker(String v) |
static RelativePosition.TYPE |
parseTriggerPosition(GTUPositionType positionType) |
public static Length parseLengthBeginEnd(LengthBeginEnd lbe, Length laneLength)
lbe - LengthBeginEnd; the begin, end, fraction, or offset from begin or end on the lanelaneLength - Length; the length of the lanepublic static RelativePosition.TYPE parseTriggerPosition(GTUPositionType positionType)
positionType - GTUPositionType; the JAXB position to parsepublic static LaneKeepingPolicy parseLaneKeepingPolicy(String lkpStr) throws NetworkException
lkpStr - String; the lane keeping policy string.NetworkException - in case of unknown policy.public static LaneBasedGTUGenerator.RoomChecker parseRoomChecker(String v)
v - String; XML string valuepublic static ArrivalsHeadwayGenerator.HeadwayDistribution parseHeadwayDistribution(String v) throws NoSuchFieldException, IllegalAccessException
v - String; XML string valueNoSuchFieldException - if HeadwayDistribution does not have specified fieldIllegalAccessException - if the field is not accessibleCopyright © 2014–2019 Delft University of Technology. All rights reserved.