Interface Interleaving

All Known Implementing Classes:
TeamDraftInterleaving

public interface Interleaving
Interleaving considers two ranking models: modelA and modelB.
For a given query, each model returns its ranked list of documents La = (a1,a2,...) and Lb = (b1, b2, ...).
An Interleaving algorithm creates a unique ranked list I = (i1, i2, ...).
This list is created by interleaving elements from the two lists la and lb as described by the implementation algorithm.
Each element Ij is labelled TeamA if it is selected from La and TeamB if it is selected from Lb.
  • Field Details

  • Method Details

    • interleave

      InterleavingResult interleave(org.apache.lucene.search.ScoreDoc[] rerankedA, org.apache.lucene.search.ScoreDoc[] rerankedB)
    • getImplementation

      static Interleaving getImplementation(String algorithm)