public PrioritySelector(GetPriority priorityCallback) { if (priorityCallback == null) { throw new System.InvalidOperationException("Priority callback must not be null"); } this.comparer = new Comparer(priorityCallback); }
public Planing(UpdateValues updateValues, GetPriority getPriority) { this.updateValues = updateValues; this.getPriority = getPriority; }
private Planing(SortedQueue <double, StateAction> priorityQueue, Planing other) { this.priorityQueue = priorityQueue; updateValues = other.updateValues; getPriority = other.getPriority; }
public Comparer(GetPriority callback) { priorityCallback = callback; }