Track Obstructions #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cheese-water/rail_network#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Traversal methods on
RailGraph
should be able to determine whether track is not possible to traverse due to an obstructed section.Because determining where a train can go is a probable use case of this, and we want to avoid the train "obstructing" itself, it may be necessary to have some sort of obstruction mask so that traversal can account for some obstructions while ignoring others, or in some cases, it may even be valuable to ignore all obstructions.
Obstructions would not be single points, but regions of track which may span multiple segments.
Obstructions should have width to account for partially obstructed switches.