Class ToledoCarFollowing
java.lang.Object
org.opentrafficsim.road.gtu.lane.tactical.following.AbstractCarFollowingModel
org.opentrafficsim.road.gtu.lane.tactical.toledo.ToledoCarFollowing
- All Implemented Interfaces:
 CarFollowingModel,DesiredHeadwayModel,DesiredSpeedModel,Initialisable
public class ToledoCarFollowing extends AbstractCarFollowingModel
 Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
- Version:
 - $Revision$, $LastChangedDate$, by $Author$, initial version Jul 7, 2016 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Field Summary
Fields Modifier and Type Field Description static ParameterTypeSpeedALPHADSstatic ParameterTypeDoubleBETAACCstatic ParameterTypeSpeedBETADSstatic ParameterTypeDoubleCCFACCstatic ParameterTypeDoubleCCFDECstatic ParameterTypeSpeedCDSstatic ParameterTypeDoubleGAMMAACCstatic ParameterTypeDoubleGAMMADECstatic ParameterTypeDurationHSTARstatic ParameterTypeDoubleLAMBDAACCstatic ParameterTypeDoubleLAMBDADECstatic ParameterTypeDoubleLAMBDAFFstatic ParameterTypeDoubleRHOACCstatic ParameterTypeDoubleRHODECstatic ParameterTypeDoubleSIGMAACCstatic ParameterTypeDoubleSIGMADECstatic ParameterTypeDoubleSIGMAFFFields inherited from interface org.opentrafficsim.road.gtu.lane.tactical.following.CarFollowingModel
CAR_FOLLOWING_MODEL - 
Constructor Summary
Constructors Constructor Description ToledoCarFollowing()Constructor using Toledo models for desired headway ans speed. - 
Method Summary
Modifier and Type Method Description protected AccelerationfollowingAcceleration(Parameters parameters, Speed speed, Speed desiredSpeed, Length desiredHeadway, PerceptionIterable<? extends Headway> leaders)Determination of car-following acceleration, possibly based on multiple leaders.java.lang.StringgetLongName()Return the complete name of the car-following model.java.lang.StringgetName()Return the name of the car-following model.Methods inherited from class org.opentrafficsim.road.gtu.lane.tactical.following.AbstractCarFollowingModel
desiredHeadway, desiredSpeed, followingAcceleration, init, toString 
- 
Field Details
 - 
Constructor Details
- 
ToledoCarFollowing
public ToledoCarFollowing()Constructor using Toledo models for desired headway ans speed. 
 - 
 - 
Method Details
- 
followingAcceleration
protected final Acceleration followingAcceleration(Parameters parameters, Speed speed, Speed desiredSpeed, Length desiredHeadway, PerceptionIterable<? extends Headway> leaders) throws ParameterExceptionDetermination of car-following acceleration, possibly based on multiple leaders.- Specified by:
 followingAccelerationin classAbstractCarFollowingModel- Parameters:
 parameters- Parameters; parametersspeed- Speed; current speeddesiredSpeed- Speed; desired speeddesiredHeadway- Length; desired headwayleaders- PerceptionIterable<? extends Headway>; set of leader headways (guaranteed positive) and speeds, ordered by headway (closest first)- Returns:
 - car-following acceleration
 - Throws:
 ParameterException- if parameter exception occurs
 - 
getName
public final java.lang.String getName()Return the name of the car-following model.- Returns:
 - name of the car-following model
 
 - 
getLongName
public final java.lang.String getLongName()Return the complete name of the car-following model.- Returns:
 - complete name of the car-following model
 
 
 -