choco.cp.solver.constraints.global.geost.dataStructures
Interface HeapImpl

All Known Implementing Classes:
HeapAscending, HeapDescending

public interface HeapImpl

An interface for a heap implementation. Can either be descending or ascending.

Version:
1.0 3/9/96
Author:
Michael John Radwin
See Also:
HeapDescending, HeapAscending

Method Summary
 void insert(Heapable key)
           
 boolean isEmpty()
           
 Heapable remove()
           
 void removeAllElements()
           
 int size()
           
 

Method Detail

remove

Heapable remove()
                throws NoSuchElementException
Throws:
NoSuchElementException

insert

void insert(Heapable key)

isEmpty

boolean isEmpty()

size

int size()

removeAllElements

void removeAllElements()


Copyright © 2012. All Rights Reserved.