Exemplo n.º 1
0
 public AStar()
 {
     FOpenList   = new Heap();
     FClosedList = new Heap();
     FSuccessors = new ArrayList();
     FSolution   = new ArrayList();
 }
Exemplo n.º 2
0
 public AStar()
 {
     FOpenList = new Heap();
     FClosedList = new Heap();
     FSuccessors = new ArrayList();
     FSolution = new ArrayList();
 }
Exemplo n.º 3
0
 /// <summary>
 /// ICloneable implementation.
 /// Idem <see cref="ArrayList">ArrayList</see>
 /// </summary>
 /// <returns>Cloned object.</returns>
 public object Clone()
 {
     Heap Clone = new Heap(FComparer, FList.Capacity);
     Clone.FList = (ArrayList)FList.Clone();
     Clone.FAddDuplicates = FAddDuplicates;
     return Clone;
 }