org.jgraph.algebra
Class PriorityQueue
java.lang.Object
org.jgraph.algebra.PriorityQueue
- public class PriorityQueue
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prio
protected Hashtable prio
data
protected HashSet data
minPrio
protected double minPrio
minElt
protected Object minElt
PriorityQueue
public PriorityQueue()
isEmpty
public boolean isEmpty()
pop
public Object pop()
getPrio
public double getPrio()
getPrio
public double getPrio(Object obj)
update
protected void update()
setPrio
public void setPrio(Object obj,
double prio)
Copyright (C) 2003-2005 Gaudenz Alder. All rights reserved.