Class TrafficSimulator.Car

java.lang.Object
org.episteme.social.architecture.traffic.TrafficSimulator.Car
All Implemented Interfaces:
Serializable
Enclosing class:
TrafficSimulator

public static class TrafficSimulator.Car extends Object implements Serializable
Represents a single vehicle in the traffic simulation.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Field Details

  • Constructor Details

    • Car

      public Car(String id, Quantity<Length> pos, Quantity<Velocity> vel, int lane)
      Initializes a new vehicle.
      Parameters:
      id - unique identifier
      pos - initial position along the track
      vel - initial velocity
      lane - starting lane index