1 package org.opentrafficsim.road.gtu.tactical.lmrs;
2
3 import java.util.Optional;
4
5 import org.djunits.value.vdouble.scalar.Acceleration;
6
7 /**
8 * Interface for tactical planners that can return acceleration information.
9 * <p>
10 * Copyright (c) 2026-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
11 * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
12 * </p>
13 * @author Wouter Schakel
14 */
15 public interface AccelerationBased
16 {
17
18 /**
19 * Return latest acceleration of incentive class.
20 * @param incentiveClass incentive class
21 * @return latest acceleration, or empty if incentive does not apply
22 */
23 Optional<Acceleration> getLatestAcceleration(Class<? extends AccelerationIncentive> incentiveClass);
24
25 }