public OpenContainer(ARAstarPlanner planner, bool _useHeap = true) { parentPlanner = planner; openList = new List <ARAstarNode> (); openHeap = new ARAstarHeap(planner.inflationFactor); openDictionary = new Dictionary <DefaultState, ARAstarNode> (); useHeap = _useHeap; Debug.Log("Using Heap: " + useHeap); }
public OpenContainer(ARAstarPlanner planner, bool _useHeap = true) { parentPlanner = planner; openList = new List<ARAstarNode> (); openHeap = new ARAstarHeap(planner.inflationFactor); openDictionary = new Dictionary<DefaultState, ARAstarNode> (); useHeap = _useHeap; Debug.Log("Using Heap: " + useHeap); }