| 85 | // DO THIS FOR DISTANCE |
| 86 | |
| 87 | EdgeDistance GetForwardDistance() const |
| 88 | { |
| 89 | // ..... <-- forward_distance |
| 90 | // .... <-- offset |
| 91 | // ......... <-- desired distance |
| 92 | // x <-- this is PhantomNode.location |
| 93 | // 0----1----2----3----4 <-- EdgeBasedGraph Node segments |
| 94 | BOOST_ASSERT(forward_segment_id.enabled); |
| 95 | return forward_distance + forward_distance_offset; |
| 96 | } |
| 97 | |
| 98 | EdgeDistance GetReverseDistance() const |
| 99 | { |
no outgoing calls
no test coverage detected