aim4.driver.coordinator
Class VelocityFirstArrivalEstimation
java.lang.Object
aim4.driver.coordinator.VelocityFirstArrivalEstimation
public class VelocityFirstArrivalEstimation
- extends Object
This class provides functions to solve the optimization problem.
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityFirstArrivalEstimation
public VelocityFirstArrivalEstimation()
estimate
public static ArrivalEstimationResult estimate(double time1,
double v1,
double dTotal,
double vTop,
double vEndMax,
double accel,
double decel)
throws ArrivalEstimationException
- Compute the acceleration schedule and the arrival parameters
at the intersection.
- Parameters:
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 deceleration
- Returns:
- the acceleration schedule and estimated arrival parameters
at the intersection; null if there is no solution
- Throws:
if
- the algorithm returns no solution.
ArrivalEstimationException
Copyright © 2011. All Rights Reserved.