Class FixedCarFollowing

java.lang.Object
org.opentrafficsim.road.FixedCarFollowing
All Implemented Interfaces:
Supplier<FixedCarFollowing.FixedCarFollowingModel>, CarFollowingModelFactory<FixedCarFollowing.FixedCarFollowingModel>, ModelComponentFactory, ModelComponentSupplier<FixedCarFollowing.FixedCarFollowingModel>

public class FixedCarFollowing extends Object implements CarFollowingModelFactory<FixedCarFollowing.FixedCarFollowingModel>
Very simple car-following model factory only for testing.

Copyright (c) 2024-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Wouter Schakel
  • Constructor Details

    • FixedCarFollowing

      public FixedCarFollowing()
      Constructor.
    • FixedCarFollowing

      public FixedCarFollowing(org.djunits.value.vdouble.scalar.Acceleration acceleration)
      Constructor.
      Parameters:
      acceleration - fixed acceleration
    • FixedCarFollowing

      public FixedCarFollowing(org.djunits.value.vdouble.scalar.Acceleration acceleration, org.djunits.value.vdouble.scalar.Speed desiredSpeed, org.djunits.value.vdouble.scalar.Length desiredHeadway)
      Constructor.
      Parameters:
      acceleration - fixed acceleration
      desiredSpeed - fixed desired speed
      desiredHeadway - fixed desired headway
  • Method Details