Skip to main content

CandidateGenerator

Trait CandidateGenerator 

Source
pub trait CandidateGenerator<V> {
    type Candidate;

    // Required method
    fn candidates(&self, query: &V, k: usize) -> Vec<Self::Candidate>;
}
Expand description

Candidate generation seam. Intended to wrap e.g. TernaryInvertedIndex.

Required Associated Types§

Required Methods§

Source

fn candidates(&self, query: &V, k: usize) -> Vec<Self::Candidate>

Implementors§