public final class IDMPropertySet extends Object
 Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
 $LastChangedDate: 2016-05-28 11:33:31 +0200 (Sat, 28 May 2016) $, @version $Revision: 2051 $, by $Author: averbraeck $,
 initial version 5 jan. 2015 
| Modifier and Type | Method and Description | 
|---|---|
static org.djunits.value.vdouble.scalar.Acceleration | 
getA(org.opentrafficsim.base.modelproperties.CompoundProperty set)
Return the maximum acceleration. 
 | 
static org.djunits.value.vdouble.scalar.Acceleration | 
getB(org.opentrafficsim.base.modelproperties.CompoundProperty set)
Return the maximum comfortable deceleration. 
 | 
static org.djunits.value.vdouble.scalar.Length | 
getS0(org.opentrafficsim.base.modelproperties.CompoundProperty set)
Return the static headway. 
 | 
static org.djunits.value.vdouble.scalar.Duration | 
getTSafe(org.opentrafficsim.base.modelproperties.CompoundProperty set)
Return the time headway. 
 | 
static org.opentrafficsim.base.modelproperties.CompoundProperty | 
makeIDMPropertySet(String key,
                  String carType,
                  org.djunits.value.vdouble.scalar.Acceleration a,
                  org.djunits.value.vdouble.scalar.Acceleration b,
                  org.djunits.value.vdouble.scalar.Length s0,
                  org.djunits.value.vdouble.scalar.Duration tSafe,
                  int displayPriority)
Create a CompoundProperty for the IDM or IDMPlus parameters for a specified car type. 
 | 
public static org.opentrafficsim.base.modelproperties.CompoundProperty makeIDMPropertySet(String key, String carType, org.djunits.value.vdouble.scalar.Acceleration a, org.djunits.value.vdouble.scalar.Acceleration b, org.djunits.value.vdouble.scalar.Length s0, org.djunits.value.vdouble.scalar.Duration tSafe, int displayPriority) throws org.opentrafficsim.base.modelproperties.PropertyException
key - String; the unique key of the new propertycarType - String; the type of the cara - Acceleration; the maximum acceleration of the carb - Acceleration; the maximum comfortable deceleration of the cars0 - Length; the stationary distance headwaytSafe - Duration; the time headwaydisplayPriority - int; the display priority of the returned CompoundPropertyorg.opentrafficsim.base.modelproperties.PropertyException - when key is not unique, or one of the generated sub keys is not uniquepublic static org.djunits.value.vdouble.scalar.Acceleration getA(org.opentrafficsim.base.modelproperties.CompoundProperty set)
set - CompoundProperty (should have been created with makeIDMPropertySet)public static org.djunits.value.vdouble.scalar.Acceleration getB(org.opentrafficsim.base.modelproperties.CompoundProperty set)
set - CompoundProperty (should have been created with makeIDMPropertySet)public static org.djunits.value.vdouble.scalar.Length getS0(org.opentrafficsim.base.modelproperties.CompoundProperty set)
set - CompoundProperty (should have been created with makeIDMPropertySet)public static org.djunits.value.vdouble.scalar.Duration getTSafe(org.opentrafficsim.base.modelproperties.CompoundProperty set)
set - CompoundProperty (should have been created with makeIDMPropertySet)Copyright © 2014–2018 Delft University of Technology. All rights reserved.