public final class IDMPropertySet 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-12-29 03:56:14 +0100 (Tue, 29 Dec 2015) $, @version $Revision: 1668 $, by $Author: averbraeck $,
initial version 5 jan. 2015
Modifier and Type | Method and Description |
---|---|
static org.djunits.value.vdouble.scalar.Acceleration |
getA(CompoundProperty set)
Return the maximum acceleration.
|
static org.djunits.value.vdouble.scalar.Acceleration |
getB(CompoundProperty set)
Return the maximum comfortable deceleration.
|
static org.djunits.value.vdouble.scalar.Length.Rel |
getS0(CompoundProperty set)
Return the static headway.
|
static org.djunits.value.vdouble.scalar.Time.Rel |
getTSafe(CompoundProperty set)
Return the time headway.
|
static CompoundProperty |
makeIDMPropertySet(String carType,
org.djunits.value.vdouble.scalar.Acceleration a,
org.djunits.value.vdouble.scalar.Acceleration b,
org.djunits.value.vdouble.scalar.Length.Rel s0,
org.djunits.value.vdouble.scalar.Time.Rel tSafe,
int displayPriority)
Create a CompoundProperty for the IDM or IDMPlus parameters for a specified car type.
|
public static CompoundProperty makeIDMPropertySet(String carType, org.djunits.value.vdouble.scalar.Acceleration a, org.djunits.value.vdouble.scalar.Acceleration b, org.djunits.value.vdouble.scalar.Length.Rel s0, org.djunits.value.vdouble.scalar.Time.Rel tSafe, int displayPriority)
carType
- String; the type of the cara
- Acceleration; the maximum acceleration of the carb
- Acceleration; the maximum comfortable deceleration of the cars0
- Length.Rel; the stationary distance headwaytSafe
- Time.Rel; the time headwaydisplayPriority
- int; the display priority of the returned CompoundPropertypublic static org.djunits.value.vdouble.scalar.Acceleration getA(CompoundProperty set)
set
- CompoundProperty (should have been created with makeIDMPropertySet)public static org.djunits.value.vdouble.scalar.Acceleration getB(CompoundProperty set)
set
- CompoundProperty (should have been created with makeIDMPropertySet)public static org.djunits.value.vdouble.scalar.Length.Rel getS0(CompoundProperty set)
set
- CompoundProperty (should have been created with makeIDMPropertySet)public static org.djunits.value.vdouble.scalar.Time.Rel getTSafe(CompoundProperty set)
set
- CompoundProperty (should have been created with makeIDMPropertySet)Copyright © 2014–2016 Delft University of Technology. All rights reserved.