public class FloatHeapSelect extends Object
| Constructor and Description |
|---|
FloatHeapSelect(float[] heap)
Constructor.
|
FloatHeapSelect(int k)
Constructor.
|
public FloatHeapSelect(int k)
k - the heap size.public FloatHeapSelect(float[] heap)
heap - the array to store smallest values to track.public void add(float datum)
public float peek()
public float get(int i)
public void sort()
Copyright © 2015. All rights reserved.