Exemple #1
0
 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);
 }
Exemple #2
0
 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);
 }