Ranker
Date: 2013-02-16

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gcube.dir.master.selection.rankers
Interface Ranker<PARAMS extends SelectionParameters,RANK extends CollectionRank>

Type Parameters:
  `PARAMS` - the type of selection parameters.
  `RANK` - the type of rank entries.

All Known Implementing Classes:
  CORIRanker, RandomRanker

    public interface Ranker<PARAMS extends SelectionParameters,RANK extends CollectionRank>

Defines the behaviour of objects which ranks collections according to some selection parameters.

Author:
  Fabio Simeoni (University of Strathclyde)

Method Summary
`java.util.List<? extends RANK>` | `rank(PARAMS params, CollectionSet set)` Ranks the collections in a `CollectionSet` in accordance with given selection parameters.

Method Detail

### rank

    java.util.List<? extends RANK> rank(PARAMS params,
                                        CollectionSet set)
                                                               throws java.lang.Exception

  Ranks the collections in a `CollectionSet` in accordance with given selection parameters.

  Parameters:
    `params` - the parameters.
    `the` - collections.
  Returns:
    the ranked collections.
  Throws:
    `java.lang.Exception` - if the collections could not be ranked.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD