Exemplo n.º 1
0
 public BinaryHeap(EHeapOrderStrategy heapStrategy) : this(10, heapStrategy)
 {
 }
Exemplo n.º 2
0
 public BinaryHeap(int capacity = 10, EHeapOrderStrategy heapStrategy = EHeapOrderStrategy.MIN)
 {
     data     = new T[capacity <= 0 ? 10 : capacity];
     strategy = heapStrategy;
     Size     = 0;
 }
Exemplo n.º 3
0
 public PriorityQueue(EHeapOrderStrategy strategy = EHeapOrderStrategy.MIN) : base(strategy)
 {
 }