|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.indexmanagement.featureindexlibrary.commons.LookupBuffer
public class LookupBuffer
Element holding top k results
| Constructor Summary | |
|---|---|
LookupBuffer(int k)
Creates a new instance |
|
| Method Summary | |
|---|---|
ArrayList<RankedResultElement> |
getResults(String indexName)
Retrieves the results |
float |
process(RankedResultElement element)
processes a new element |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LookupBuffer(int k)
k - The number of results| Method Detail |
|---|
public ArrayList<RankedResultElement> getResults(String indexName)
indexName - The index name
public float process(RankedResultElement element)
element - the element to check for addition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||