flow.benchmarks package

Submodules

flow.benchmarks.bottleneck0 module

Benchmark for bottleneck0.

Bottleneck in which the actions are specifying a desired velocity in a segment of space. The autonomous penetration rate in this example is 10%.

  • Action Dimension: (?, )

  • Observation Dimension: (?, )

  • Horizon: 1000 steps

flow.benchmarks.bottleneck1 module

Benchmark for bottleneck1.

Bottleneck in which the actions are specifying a desired velocity in a segment of space. The autonomous penetration rate in this example is 25%. Human lane changing is enabled.

  • Action Dimension: (?, )

  • Observation Dimension: (?, )

  • Horizon: 1000 steps

flow.benchmarks.bottleneck2 module

Benchmark for bottleneck2.

Bottleneck in which the actions are specifying a desired velocity in a segment of space for a large bottleneck. The autonomous penetration rate in this example is 10%.

  • Action Dimension: (40, )

  • Observation Dimension: (281, )

  • Horizon: 1000 steps

flow.benchmarks.figureeight0 module

Benchmark for figureeight0.

Trains a fraction of vehicles in a ring road structure to regulate the flow of vehicles through an intersection. In this example, the last vehicle in the network is an autonomous vehicle.

  • Action Dimension: (1, )

  • Observation Dimension: (28, )

  • Horizon: 1500 steps

flow.benchmarks.figureeight1 module

Benchmark for figureeight1.

Trains a fraction of vehicles in a ring road structure to regulate the flow of vehicles through an intersection. In this example, every other vehicle in the network is an autonomous vehicle.

  • Action Dimension: (7, )

  • Observation Dimension: (28, )

  • Horizon: 1500 steps

flow.benchmarks.figureeight2 module

Benchmark for figureeight2.

Trains a fraction of vehicles in a ring road structure to regulate the flow of vehicles through an intersection. In this example, every vehicle in the network is an autonomous vehicle.

  • Action Dimension: (14, )

  • Observation Dimension: (28, )

  • Horizon: 1500 steps

flow.benchmarks.grid0 module

Benchmark for grid0.

  • Action Dimension: (9, )

  • Observation Dimension: (339, )

  • Horizon: 400 steps

flow.benchmarks.grid1 module

Benchmark for grid1.

  • Action Dimension: (25, )

  • Observation Dimension: (915, )

  • Horizon: 400 steps

flow.benchmarks.merge0 module

Benchmark for merge0.

Trains a small percentage of autonomous vehicles to dissipate shockwaves caused by merges in an open network. The autonomous penetration rate in this example is 10%.

  • Action Dimension: (5, )

  • Observation Dimension: (25, )

  • Horizon: 750 steps

flow.benchmarks.merge1 module

Benchmark for merge1.

Trains a small percentage of autonomous vehicles to dissipate shockwaves caused by merges in an open network. The autonomous penetration rate in this example is 25%.

  • Action Dimension: (13, )

  • Observation Dimension: (65, )

  • Horizon: 750 steps

flow.benchmarks.merge2 module

Benchmark for merge2.

Trains a small percentage of autonomous vehicles to dissipate shockwaves caused by merges in an open network. The autonomous penetration rate in this example is 33.3%.

  • Action Dimension: (17, )

  • Observation Dimension: (85, )

  • Horizon: 750 steps

Module contents

Empty init file to ensure documentation for benchmarks is created.