Function pqgrams::flatten_profile [] [src]

pub fn flatten_profile<L: ValidGramElement>(
    profile: &Vec<PQGram<L>>,
    filler_as: L
) -> Vec<Vec<L>>

PQGrams are nested structures of ancestors and siblings, but their intended use is usually as flat vectors of constant length. This converts all PQGram elements in a profile into flat vectors.