示例#1
0
 public PrioritizeSweeping(DiscreteAI ai, uint cycleRate)
 {
     this.ai        = ai;
     this.cycleRate = cycleRate;
     model          = new Model();
     planing        = new Planing(ai.UpdateActionValueFunction, GetPriority);
 }
示例#2
0
 private Planing(SortedQueue <double, StateAction> priorityQueue, Planing other)
 {
     this.priorityQueue = priorityQueue;
     updateValues       = other.updateValues;
     getPriority        = other.getPriority;
 }