示例#1
0
 public static double TimeCost(Road road) => DistanceCost(road) * 3.6 / Math.Min(road.MaxSpeed, HeuristicSpeed);
示例#2
0
 public static double TimePriorityCost(Road road) => TimeCost(road) * Math.Max(HuristicPriority, road.Priority);
示例#3
0
 public static double DistanceCost(Road road) => road.Length;