|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.dir.master.selection.rankers.RandomRanker
public class RandomRanker
A Ranker
implementation based on a randomisations of the input collections (suitable for testing).
Constructor Summary | |
---|---|
RandomRanker()
|
Method Summary | |
---|---|
SelectionParameters |
getPrototype()
Returns the object's prototypical input. |
java.util.List<CollectionRank> |
rank(SelectionParameters params,
CollectionSet set)
Ranks the collections in a CollectionSet in accordance with given selection parameters. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomRanker()
Method Detail |
---|
public java.util.List<CollectionRank> rank(SelectionParameters params, CollectionSet set) throws java.lang.Exception
CollectionSet
in accordance with given selection parameters.
rank
in interface Ranker<SelectionParameters,CollectionRank>
params
- the parameters.
java.lang.Exception
- if the collections could not be ranked.public SelectionParameters getPrototype()
getPrototype
in interface Prototyped<SelectionParameters>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |