public class VelocityFirstArrivalEstimation extends Object
| Constructor and Description |
|---|
VelocityFirstArrivalEstimation() |
| Modifier and Type | Method and Description |
|---|---|
static ArrivalEstimationResult |
estimate(double time1,
double v1,
double dTotal,
double vTop,
double vEndMax,
double accel,
double decel)
Compute the acceleration schedule and the arrival parameters
at the intersection.
|
public static ArrivalEstimationResult estimate(double time1, double v1, double dTotal, double vTop, double vEndMax, double accel, double decel) throws ArrivalEstimationException
time1 - the initial timev1 - the initial velocitydTotal - the distance between the vehicle and the intersectionvTop - the speed limit of the roadvEndMax - the speed limit at the intersectionaccel - the maximum accelerationdecel - the maximum decelerationif - the algorithm returns no solution.ArrivalEstimationExceptionCopyright © 2013. All rights reserved.