Same stations on multiple lines cause issues #2

Closed
opened 2021-03-04 21:38:05 +01:00 by markus · 3 comments
Owner

For whatever reason, a station with the name "Spawn Main Station" is never routed to/from. Renaming it to "Spawn Main Station " resolves the problem... WTF?!

For whatever reason, a station with the name "Spawn Main Station" is never routed to/from. Renaming it to "Spawn Main Station " resolves the problem... WTF?!
Author
Owner

Actually, I think this is something else. It seems to be more related to same / similar station names on different lines?

Actually, I think this is something else. It seems to be more related to same / similar station names on different lines?
Author
Owner

Solution: dijkstra_net_meta_new_to_list needs to also check for the access to be equal.

Solution: [dijkstra_net_meta_new_to_list](https://git.notsyncing.net:8080/markus/lifo-dijkstraserv/src/master/src/dijkstragraph.c#L571) needs to also check for the `access` to be equal.
Author
Owner

Fixed in f37ec6d03f.

Fixed in f37ec6d03fe082a49add18af08e9c83068ef1e08.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
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: markus/lifo-dijkstraserv#2
No description provided.