/// <summary>
 /// Inits the data structures for this heap.
 /// </summary>
 private void InitDataStructures()
 {
     _trees = new LinkedBucketList <FibonacciHeapNode <TElement> >();
     _elementToHeapNodeMappings = new List <Dictionary <TElement, FibonacciHeapNode <TElement> > >();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommandQueue"/> class.
 /// </summary>
 public CommandQueue()
 {
     _commands = new LinkedBucketList <CommandBase>();
 }