code: @Override
      public int compareTo(Node other)
      {
          final double f = getHeuristic() + getCost();
          final double of = other.getHeuristic() + other.getCost();
  
          return Double.compare(f, of);
      }
docs: /*
  Comparable