|
||||||||||
| 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
public class FibHeapExt
Extends the FibHeap-class by fast direct access to nodes.
| Field Summary | |
|---|---|
FibNode[] |
nodes
|
| Fields inherited from class mauda.plugin.fibheap.FibHeap |
|---|
DETAIL, MORE, NONE, NORMAL, subOperations |
| Constructor Summary | |
|---|---|
FibHeapExt()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
copy()
|
java.lang.Object |
copyDS()
|
void |
cutOp(int node)
CUT |
void |
decreasekeyOp(int key,
int k)
DECREASE_KEY |
int |
deleteminOp()
DELETE_MIN |
int |
deleteOp(int key)
DELETE |
FibNode[] |
getAllNodes()
|
void |
insertOp(int k)
INSERT |
void |
linkOp(int node1,
int node2)
LINK |
void |
markOp(int node)
MARK |
void |
newFHeapMeldOp(int node)
NEWFHEAPMELD |
void |
removeOp(int node)
REMOVE |
void |
setKeyOp(int node,
int key)
SETKEY |
void |
unmarkOp(int node)
UNMARK |
void |
updateMinOp(int node)
UPDATEMIN |
| Methods inherited from class mauda.plugin.fibheap.FibHeap |
|---|
accessmin, add, clearSubOperationQueue, decreasekey, deepCopy, delete, deletemin, getCount, getHeapSize, getKeyColorMode, getMainCompObj, getSubOperationQueue, insert, 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 |
| Field Detail |
|---|
public FibNode[] nodes
| Constructor Detail |
|---|
public FibHeapExt()
| Method Detail |
|---|
public void insertOp(int k)
FibHeapOperations
insertOp in interface FibHeapOperationsk - key to insertpublic int deleteminOp()
FibHeapOperations
deleteminOp in interface FibHeapOperations
public void decreasekeyOp(int key,
int k)
FibHeapOperations
decreasekeyOp in interface FibHeapOperationskey - key to decreasedk - new value of the decreased nodepublic int deleteOp(int key)
FibHeapOperations
deleteOp in interface FibHeapOperationskey - key to delete
public void setKeyOp(int node,
int key)
FibHeapSubOperations
setKeyOp in interface FibHeapSubOperationsnode - old-valuekey - new-valuepublic void cutOp(int node)
FibHeapSubOperations
cutOp in interface FibHeapSubOperationsnode - key of node to cutpublic void markOp(int node)
FibHeapSubOperations
markOp in interface FibHeapSubOperationsnode - key of node to markpublic void unmarkOp(int node)
FibHeapSubOperations
unmarkOp in interface FibHeapSubOperationsnode - key of node to unmark
public void linkOp(int node1,
int node2)
FibHeapSubOperations
linkOp in interface FibHeapSubOperationsnode1 - key of nodenode2 - key of node that should linked to the first nodepublic void updateMinOp(int node)
FibHeapSubOperations
updateMinOp in interface FibHeapSubOperationsnode - key of new minimumpublic void newFHeapMeldOp(int node)
FibHeapSubOperations
newFHeapMeldOp in interface FibHeapSubOperationsnode - key of node to insertpublic void removeOp(int node)
FibHeapSubOperations
removeOp in interface FibHeapSubOperationsnode - key of node to removepublic FibNode[] getAllNodes()
public java.lang.Object copy()
copy in class FibHeappublic java.lang.Object copyDS()
copyDS in class FibHeap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||