public final class Distributions 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 | Method and Description |
|---|---|
static DistContinuousDoubleScalar.Abs<org.djunits.unit.LengthUnit> |
parseLengthDistAbs(String s)
Parse an absolute length distribution, e.g.
|
static DistContinuousDoubleScalar.Rel<org.djunits.unit.LengthUnit> |
parseLengthDistRel(String s)
Parse a relative length distribution, e.g.
|
static DistContinuousDoubleScalar.Abs<org.djunits.unit.SpeedUnit> |
parseSpeedDistAbs(String s)
Parse an absolute speed distribution, e.g.
|
static DistContinuousDoubleScalar.Rel<org.djunits.unit.SpeedUnit> |
parseSpeedDistRel(String s)
Parse a relative speed distribution, e.g.
|
static DistContinuousDoubleScalar.Abs<org.djunits.unit.TimeUnit> |
parseTimeDistAbs(String s)
Parse an absolute time distribution, e.g.
|
static DistContinuousDoubleScalar.Rel<org.djunits.unit.TimeUnit> |
parseTimeDistRel(String s)
Parse a relative time distribution, e.g.
|
public static DistContinuousDoubleScalar.Rel<org.djunits.unit.LengthUnit> parseLengthDistRel(String s) throws NetworkException
UNIFORM(1, 3) m.s - the string to be parsed.NetworkException - in case of a parse error.public static DistContinuousDoubleScalar.Abs<org.djunits.unit.LengthUnit> parseLengthDistAbs(String s) throws NetworkException
UNIFORM(1, 3) m.s - the string to be parsed.NetworkException - in case of a parse error.public static DistContinuousDoubleScalar.Rel<org.djunits.unit.TimeUnit> parseTimeDistRel(String s) throws NetworkException
UNIFORM(1, 3) s.s - the string to be parsed.NetworkException - in case of a parse error.public static DistContinuousDoubleScalar.Abs<org.djunits.unit.TimeUnit> parseTimeDistAbs(String s) throws NetworkException
UNIFORM(1, 3) s.s - the string to be parsed.NetworkException - in case of a parse error.public static DistContinuousDoubleScalar.Rel<org.djunits.unit.SpeedUnit> parseSpeedDistRel(String s) throws NetworkException
TRIANGULAR(80, 90, 110) km/h.s - the string to be parsed.NetworkException - in case of a parse error.public static DistContinuousDoubleScalar.Abs<org.djunits.unit.SpeedUnit> parseSpeedDistAbs(String s) throws NetworkException
TRIANGULAR(80, 90, 110) km/h.s - the string to be parsed.NetworkException - in case of a parse error.Copyright © 2014–2015 Delft University of Technology. All rights reserved.