You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VISIBLE_HIDDEN_COLOC & HIDDEN_JUNCTION w/only devel systems #433
This just randomly occurred to me, not even looking at the code...
VISIBLE_HIDDEN_COLOC check is performed in the HGVertex ctor.
HIDDEN_JUNCTION check is performed during edge compression.
All of this is after the HighwayGraph ctor has been fed a list of every unique point that is_or_colocated_with_active_or_preview(), meaning these errors won't be flagged when only devel systems are involved.
Still not sure what exactly I wanna do here.
On the forum, @Duke87ofSTmentioned "the next point or the preceding point".
Something that takes this approach may be worth looking into.
It'll be a lot easier now that TMArray is fully implemented, Waypoints & HighwaySegments are stored sequentially, and pointer arithmetic can be used.
Edit: Some first thoughts...
Iterate through each route's points.
For hidden ones, check whether it's colocated and at the front of its colocation list.
If so, iterate through all its colocated points.
For each one, gather up all the preceding & following points (unless it's a terminus), get their unique locations (possibly represented as a Waypoint* via Waypoint::hashpoint()), and add those to a set.
If the set contains more than 2 items, flag an error.
This can be simplified if we don't care about keeping the number of incident edges in TM master graph in the info field.
Activity
yakra commentedon Oct 12, 2023
Still not sure what exactly I wanna do here.
On the forum, @Duke87ofST mentioned "the next point or the preceding point".
Something that takes this approach may be worth looking into.
It'll be a lot easier now that TMArray is fully implemented,
Waypoints &HighwaySegments are stored sequentially, and pointer arithmetic can be used.Edit: Some first thoughts...
Waypoint*via Waypoint::hashpoint()), and add those to a set.This can be simplified if we don't care about keeping the number of incident edges in TM master graph in the
infofield.yakra commentedon Oct 21, 2023
To open flagged routes in the HB: