public final class Generators extends Object
| Modifier and Type | Method and Description |
|---|---|
static Generator<Acceleration> |
makeAccelerationGenerator(Map<String,StreamInformation> streamMap,
ACCELERATIONDISTTYPE accelerationDist)
Parse an Acceleration distribution into a Generator for Accelerations.
|
static Generator<Acceleration> |
makeDecelerationGenerator(Map<String,StreamInformation> streamMap,
ACCELERATIONDISTTYPE decelerationDist)
Parse an Acceleration distribution into a Generator for Decelerations (accceleration with a minus sign).
|
static Generator<Duration> |
makeDurationGenerator(Map<String,StreamInformation> streamMap,
DURATIONDISTTYPE durationDist)
Parse a Duration distribution into a Generator for Durations
|
static Generator<Length> |
makeLengthGenerator(Map<String,StreamInformation> streamMap,
LENGTHDISTTYPE lengthDist)
Parse a Length distribution into a Generator for Lengths
|
static Generator<Position> |
makePositionGenerator(Map<String,StreamInformation> streamMap,
POSITIONDISTTYPE positionDist)
Parse a Position distribution into a Generator for Positions
|
static Generator<Speed> |
makeSpeedGenerator(Map<String,StreamInformation> streamMap,
SPEEDDISTTYPE speedDist)
Parse a Speed distribution into a Generator for Speeds
|
static Generator<Time> |
makeTimeGenerator(Map<String,StreamInformation> streamMap,
TIMEDISTTYPE timeDist)
Parse a Time distribution into a Generator for Times
|
public static Generator<Length> makeLengthGenerator(Map<String,StreamInformation> streamMap, LENGTHDISTTYPE lengthDist) throws XmlParserException
streamMap - the map with predefined streamslengthDist - the tag to parseXmlParserException - on parse errorpublic static Generator<Position> makePositionGenerator(Map<String,StreamInformation> streamMap, POSITIONDISTTYPE positionDist) throws XmlParserException
streamMap - the map with predefined streamspositionDist - the tag to parseXmlParserException - on parse errorpublic static Generator<Duration> makeDurationGenerator(Map<String,StreamInformation> streamMap, DURATIONDISTTYPE durationDist) throws XmlParserException
streamMap - the map with predefined streamsdurationDist - the tag to parseXmlParserException - on parse errorpublic static Generator<Time> makeTimeGenerator(Map<String,StreamInformation> streamMap, TIMEDISTTYPE timeDist) throws XmlParserException
streamMap - the map with predefined streamstimeDist - the tag to parseXmlParserException - on parse errorpublic static Generator<Speed> makeSpeedGenerator(Map<String,StreamInformation> streamMap, SPEEDDISTTYPE speedDist) throws XmlParserException
streamMap - the map with predefined streamsspeedDist - the tag to parseXmlParserException - on parse errorpublic static Generator<Acceleration> makeAccelerationGenerator(Map<String,StreamInformation> streamMap, ACCELERATIONDISTTYPE accelerationDist) throws XmlParserException
streamMap - the map with predefined streamsaccelerationDist - the tag to parseXmlParserException - on parse errorpublic static Generator<Acceleration> makeDecelerationGenerator(Map<String,StreamInformation> streamMap, ACCELERATIONDISTTYPE decelerationDist) throws XmlParserException
streamMap - the map with predefined streamsdecelerationDist - the tag to parseXmlParserException - on parse errorCopyright © 2014–2019 Delft University of Technology. All rights reserved.