common
Interface Heap.Entry

Enclosing interface:
Heap

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

getElement

java.lang.Object getElement()

getCost

double getCost()