net.clackrouter.jgraph.pad
Class GPGraphTools.PriorityQueue
java.lang.Object
net.clackrouter.jgraph.pad.GPGraphTools.PriorityQueue
- Enclosing class:
- GPGraphTools
public class GPGraphTools.PriorityQueue
- extends java.lang.Object
Field Summary |
protected java.util.HashSet |
data
|
protected java.lang.Object |
minElt
|
protected double |
minPrio
|
protected java.util.Hashtable |
prio
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prio
protected java.util.Hashtable prio
data
protected java.util.HashSet data
minPrio
protected double minPrio
minElt
protected java.lang.Object minElt
GPGraphTools.PriorityQueue
public GPGraphTools.PriorityQueue()
isEmpty
public boolean isEmpty()
pop
public java.lang.Object pop()
getPrio
public double getPrio()
getPrio
public double getPrio(java.lang.Object obj)
update
protected void update()
setPrio
public void setPrio(java.lang.Object obj,
double prio)