|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.dir.master.selection.criteria.TopNCriterion
public class TopNCriterion
A criterion to select all collections below a given rank cutoff.
Constructor Summary | |
---|---|
TopNCriterion(int cutOff)
Creates an instance with a give cutoff. |
Method Summary | ||
---|---|---|
|
select(java.util.List<T> ranking)
Returns an ordered selection of a ranked list of content sources. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TopNCriterion(int cutOff)
cutOff
- the cutoff.Method Detail |
---|
public <T extends CollectionRank> java.util.List<? extends CollectionRank> select(java.util.List<T> ranking)
select
in interface SelectionCriterion
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |