net.walend.collection
Interface IntHeap
- All Known Implementing Classes:
- FibIntHeap
- public interface IntHeap
IntHeap is an interface for Heaps with int keys.
- Author:
- David Walend dfw1@cornell.edu
isEmpty
public boolean isEmpty()
insert
public void insert(int key,
IntHeapMember node)
getMin
public IntHeapMember getMin()
getMinKey
public int getMinKey()
takeMin
public IntHeapMember takeMin()
changeKey
public void changeKey(int key,
IntHeapMember node)
remove
public void remove(IntHeapMember node)
size
public int size()
Copyright (c) 2001, 2002, David Walend