public override int[] InitialOpen(BinaryHeapM open, Int3 targetPosition, Int3 position, Path path, bool doOpen) { if (doOpen) { //Open (open,targetPosition,path); } return(base.InitialOpen(open, targetPosition, position, path, doOpen)); }
public void Copy(BinaryHeapM <T> m, int count) { numberOfItems = System.Math.Min(count, binaryHeap.Length); System.Array.Copy(m.binaryHeap, binaryHeap, numberOfItems); }
public AStarStorageBase() { _heap = new BinaryHeapM <AStarNode>(32, BinaryHeapMCompare); _propagationStack = new Stack <AStarNode>(); }