|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.traffic.vehicle.AccelerationProfile
(c) copyright 2003-2004 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General
Public License (GPL) , no warranty
| Field Summary | |
protected static boolean |
debug
print table for debugging |
| Constructor Summary | |
AccelerationProfile(double maxSpeed)
create a new acceleration / deceleration profile |
|
| Method Summary | |
double |
getAcceleration(double speed)
Gets the acceleration / deceleration for a given speed |
double |
getAccelerationDistance(double initialSpeed,
double endSpeed)
|
double |
getAccelerationTime(double initialSpeed,
double endSpeed)
|
void |
initializeProfile()
|
static void |
main(java.lang.String[] args)
|
void |
setAccelerationFromSpeed(double speed,
double accdec)
Set the acceleration / deceleration for current speed HIGHER than speed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static boolean debug
| Constructor Detail |
public AccelerationProfile(double maxSpeed)
maxSpeed - | Method Detail |
public void setAccelerationFromSpeed(double speed,
double accdec)
speed - the speed above which accdec is usedaccdec - the acceleration (positive) or deceleration (negative)public double getAcceleration(double speed)
speed -
public void initializeProfile()
public double getAccelerationTime(double initialSpeed,
double endSpeed)
initialSpeed - endSpeed -
public double getAccelerationDistance(double initialSpeed,
double endSpeed)
initialSpeed - endSpeed -
public static void main(java.lang.String[] args)
args -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||