org.opentrafficsim.road.gtu.lane.tactical.DesireBased Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ots-road Show documentation
Show all versions of ots-road Show documentation
OpenTrafficSim road classes
The newest version!
package org.opentrafficsim.road.gtu.lane.tactical;
import org.opentrafficsim.road.gtu.lane.tactical.util.lmrs.Desire;
import org.opentrafficsim.road.gtu.lane.tactical.util.lmrs.Incentive;
/**
* Interface for tactical planners that can return desire information for visualization.
*
* Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
* BSD-style license. See OpenTrafficSim License.
*
* @author Alexander Verbraeck
* @author Peter Knoppers
* @author Wouter Schakel
*/
public interface DesireBased
{
/**
* Returns the latest desire from the specified incentive.
* @param incentiveClass Class<? extends Incentive>; incentive class
* @return latest desire from the specified incentive
*/
Desire getLatestDesire(Class extends Incentive> incentiveClass);
}