private bool sameLocation(DrillNode drillNode1, DrillNode drillNode2)
 {
     return((Math.Sqrt(Math.Pow(drillNode1.location.X - drillNode2.location.X, 2) + Math.Pow(drillNode1.location.Y - drillNode2.location.Y, 2))) < NodeEpsilon);
 }
 public static int X_Sort_Ascending_Predicate(DrillNode A, DrillNode B)
 {
     return((int)(10000 * (A.location.X - B.location.X)));
 }
 public static int Y_Sort_Descending_Predicate(DrillNode A, DrillNode B)
 {
     return((int)(10000 * (B.location.Y - A.location.Y)));
 }
 public static void ResetNodeStatus_Predicate(DrillNode x)
 {
     x.status = DrillNode.DrillNodeStatus.Idle;
 }