public int Compare(AStarNode <V> x, AStarNode <V> y) { return(x.TotalValue - y.TotalValue); }
public int CompareTo(AStarNode <V> other) { return(this.TotalValue - other.TotalValue); }