Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,36 +29,12 @@ graphhopper:
# profiles (see below). Or at least limit the number of `routing.max_visited_nodes`.

profiles:
- name: tgv_all
turn_costs:
vehicle_types: [train]
# Reversing costs 5 minutes.
u_turn_costs: 300
custom_model_files: [rail.json, tgv_all.json, preferred_direction.json]
- name: non_tgv
turn_costs:
vehicle_types: [train]
# Reversing costs 15 minutes.
u_turn_costs: 900
custom_model_files: [rail.json, non_tgv.json, preferred_direction.json]
- name: tramtrain
turn_costs:
vehicle_types: [train, tram, light_rail]
# Reversing costs 3 minutes.
u_turn_costs: 180
custom_model_files: [tramtrain.json, 15kv-ac_750v-dc.json, gauge_1435.json, preferred_direction.json]
- name: all_tracks
turn_costs:
vehicle_types: [train, tram, light_rail, subway]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This list is not meant to be in sync with the paper doc. See line 19 in this file:

vehicle_types: [train, tram, light_rail, subway] (vehicle types used for vehicle-specific turn restrictions)

# Reversing costs 3 minutes.
u_turn_costs: 180
custom_model_files: [all_tracks.json]
- name: all_tracks_1435
turn_costs:
vehicle_types: [train, tram, light_rail, subway]
# Reversing costs 3 minutes.
u_turn_costs: 180
custom_model_files: [all_tracks.json, gauge_1435.json]

# instead of the inbuilt custom models (see ./src/main/resources/com/graphhopper/custom_models)
# you can specify a folder where to find your own custom model files
Expand All @@ -71,11 +47,7 @@ graphhopper:
# profiles with `turn_costs: true` a more elaborate preparation is required (longer preparation time and more memory
# usage) and the routing will also be slower than with `turn_costs: false`.
profiles_ch:
- profile: tgv_all
- profile: non_tgv
- profile: tramtrain
- profile: all_tracks
- profile: all_tracks_1435

# Hybrid mode:
# Similar to speed mode, the hybrid mode (Landmarks, LM) also speeds up routing by doing calculating auxiliary data
Expand Down

This file was deleted.

12 changes: 0 additions & 12 deletions src/main/resources/com/graphhopper/custom_models/gauge_1435.json

This file was deleted.

19 changes: 0 additions & 19 deletions src/main/resources/com/graphhopper/custom_models/non_tgv.json

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions src/main/resources/com/graphhopper/custom_models/rail.json

This file was deleted.

24 changes: 0 additions & 24 deletions src/main/resources/com/graphhopper/custom_models/tgv_all.json

This file was deleted.

18 changes: 0 additions & 18 deletions src/main/resources/com/graphhopper/custom_models/tramtrain.json

This file was deleted.

Loading