inline double OrderedTask::ScanDistanceMax() { if (task_points.empty()) // nothing to do! return 0; assert(active_task_point < task_points.size()); RunDijsktraMax(); return task_points.front()->ScanDistanceMax(); }
inline fixed OrderedTask::ScanDistanceMax() { if (task_points.empty()) // nothing to do! return fixed(0); assert(active_task_point < task_points.size()); RunDijsktraMax(); return taskpoint_start->ScanDistanceMax(); }