JME - Application Documentation
    Preparing search index...
    • Builds the lane base coordinate system used for collision detection.

      For each unique lane (identified by lane key), performs a topological sort of route segments that share that key. Each segment is assigned a monotonically increasing base distance so that all vehicles on that lane can be compared using a single linear coordinate regardless of which route they are on.

      Parameters

      Returns Map<string, Map<string, number>>

      A nested Map: laneKey → (segmentId → base distance).