Skip to content

Commit

Permalink
Fixed freight
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaopen committed Apr 7, 2022
1 parent 2059ebf commit 12f5346
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ object HouseholdActor {

//We should create a vehicle manager for cars and bikes for all households in case they are generated during the simulation

val vehiclesByAllCategories = List(Car, Bike)
val vehiclesByAllCategories = (List(Car, Bike) ++ vehiclesByCategory.keys).distinct
.map(cat => cat -> vehiclesByCategory.getOrElse(cat, Map[Id[BeamVehicle], BeamVehicle]()))
.toMap
val fleetManagers = vehiclesByAllCategories.map { case (category, vehicleMap) =>
Expand Down
4 changes: 2 additions & 2 deletions test/input/sf-light/freight/freight-tours.csv
Git LFS file not shown

0 comments on commit 12f5346

Please sign in to comment.