Skip to content

TransportFactory.gaml

Loïc SADOU edited this page Sep 21, 2020 · 3 revisions

TransportFactory.gaml contains all the factory needed to create implemented Transports.

  • Attributes

  • Reflex

  • Action

    • Car createCar (point start_location, point end_location, list<Passenger> passengers_, float start_time): action mainly used by Individual to create their cars.
    • Bike createBike (point start_location, point end_location, list<Passenger> passengers_, float start_time): action mainly used by Individual to create their bikes.
    • Walk createWalk (point start_location, point end_location, list<Passenger> passengers_, float start_time): action mainly used by Individual to create their legs.
    • Bus createBus (string trip_id, string transportLine_id, list trip_description, float start_time): action mainly used by TransportLine to create buses.
    • Metro createMetro (string trip_id, string transportLine_id, list trip_description, float start_time): action mainly used by TransportLine to create metros.
    • Tram createTram (string trip_id, string transportLine_id, list trip_description, float start_time): action mainly used by TransportLine to create trams.
  • Experiment

Clone this wiki locally