|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Heap.Entry
Interface for entries in a heap. An entry consists of an element,
an associated cost, and a pointer to a location in the heap (which
is not accessible through the interface, but is used by the
decreaseCost
method).
Method Summary | |
---|---|
double |
getCost()
|
java.lang.Object |
getElement()
|
Method Detail |
---|
java.lang.Object getElement()
double getCost()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |