|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmauda.plugin.fibheap.FibHeap
mauda.plugin.fibheap.FibHeapExt
mauda.plugin.binqueue.BinQueue
public class BinQueue
Title: Binomial Queue
Description: A binomial queue can be viewed as a special case of Fibonacci Heaps where, after each operation, the rootlist ist consolidated.
Copyright: Copyright (c) 2003
Company: University of Freiburg -- Institute of Computer Science
| Field Summary |
|---|
| Fields inherited from class mauda.plugin.fibheap.FibHeapExt |
|---|
nodes |
| Fields inherited from class mauda.plugin.fibheap.FibHeap |
|---|
DETAIL, MORE, NONE, NORMAL, subOperations |
| Constructor Summary | |
|---|---|
BinQueue()
|
|
| Method Summary | |
|---|---|
void |
decreasekey(FibNode FibNode,
int k)
Decreases the key of the specified node to the specified value. |
int |
delete(FibNode node)
Deletes the specified node from this Fibonacci heap. |
int |
deletemin()
Deletes the node with minimum key in this Fibonacci heap. |
FibNode |
findmin()
|
FibNode |
insert(int k)
Inserts a new node to this Fibonacci heap. |
| Methods inherited from class mauda.plugin.fibheap.FibHeapExt |
|---|
copy, copyDS, cutOp, decreasekeyOp, deleteminOp, deleteOp, getAllNodes, insertOp, linkOp, markOp, newFHeapMeldOp, removeOp, setKeyOp, unmarkOp, updateMinOp |
| Methods inherited from class mauda.plugin.fibheap.FibHeap |
|---|
accessmin, add, clearSubOperationQueue, deepCopy, getCount, getHeapSize, getKeyColorMode, getMainCompObj, getSubOperationQueue, isEmpty, maxRank, meld, resetCount, setKeyColorMode, setTextMode, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface mauda.plugin.fibheap.FibHeapSubOperations |
|---|
clearSubOperationQueue, getSubOperationQueue |
| Constructor Detail |
|---|
public BinQueue()
| Method Detail |
|---|
public FibNode insert(int k)
FibHeap
insert in class FibHeapk - key of new FibNode
public FibNode findmin()
public int deletemin()
FibHeap
deletemin in class FibHeappublic int delete(FibNode node)
FibHeap
delete in class FibHeapnode - node to be deleted
public void decreasekey(FibNode FibNode,
int k)
FibHeap
decreasekey in class FibHeapFibNode - node whose key is to be decreasedk - new key value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||