Track Obstructions #1

Open
opened 2025-02-11 04:22:58 +00:00 by Cheese-water · 0 comments
Owner

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.

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.
Cheese-water added the
enhancement
label 2025-02-11 04:22:58 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cheese-water/rail_network#1
No description provided.