src/main/java/de/dfki/lt/loot/jada/FibonacciHeapBase.java
public void merge(FibonacciHeapBase<Data> other) {
    // Fibonacci-Heap-Union
    rootWithMinKey.insert(other.rootWithMinKey);
    if (rootWithMinKey == null
        || (other.rootWithMinKey != null
            && _comparator.compare(other.rootWithMinKey.data,
                rootWithMinKey.data) < 0)){
      this.rootWithMinKey = other.rootWithMinKey;
    }
    count += other.count;
    // set other heap empty
    other.rootWithMinKey = null;
    other.count = 0;
  }
/** Merge heap other into this heap. After the operation, other will be empty
   */
Merge heap other into this heap. After the operation, other will be empty
Merge heap other into this heap . After the operation other will be empty
public void merge(FibonacciHeapBase<Data> other) {
    rootWithMinKey.insert(other.rootWithMinKey);
    if (rootWithMinKey == null
        || (other.rootWithMinKey != null
            && _comparator.compare(other.rootWithMinKey.data,
                rootWithMinKey.data) < 0)){
      this.rootWithMinKey = other.rootWithMinKey;
    }
    count += other.count;
    other.rootWithMinKey = null;
    other.count = 0;
  }
public void merge ( FibonacciHeapBase < Data > other ) { rootWithMinKey . insert ( other . rootWithMinKey ) ; if ( rootWithMinKey == null || ( other . rootWithMinKey != null && _comparator . compare ( other . rootWithMinKey . data , rootWithMinKey . data ) < 0 ) ) { this . rootWithMinKey = other . rootWithMinKey ; } count += other . count ; other . rootWithMinKey = null ; other . count = 0 ; }
Merge heap other into this heap.
Merge heap other into this heap .
// Fibonacci-Heap-Union // set other heap empty