Exemplo n.º 1
0
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();
}
Exemplo n.º 2
0
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();
}