|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.mySVM.Util.Heap
edu.udo.cs.mySVM.Util.MaxHeap
public class MaxHeap
Implements a MaxHeap on n doubles and ints
| Field Summary |
|---|
| Fields inherited from class edu.udo.cs.mySVM.Util.Heap |
|---|
heap, indizes, last, the_size |
| Constructor Summary | |
|---|---|
MaxHeap(int n)
|
|
| Method Summary | |
|---|---|
void |
add(double value,
int index)
|
protected void |
heapify(int start,
int size)
|
| Methods inherited from class edu.udo.cs.mySVM.Util.Heap |
|---|
clear, empty, get_values, init, size, top_value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MaxHeap(int n)
| Method Detail |
|---|
public final void add(double value,
int index)
add in class Heap
protected final void heapify(int start,
int size)
heapify in class Heap
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||