pub fn propose_distinct<G, Tr, K, F, P, V>(
prefixes: &VecCollection<G, P, Tr::Diff>,
arrangement: Arranged<G, Tr>,
key_selector: F,
) -> VecCollection<G, (P, V), Tr::Diff>where
G: Scope<Timestamp = Tr::Time>,
Tr: for<'a> TraceReader<KeyOwn = K, ValOwn = V, Time: Hash, Diff: Semigroup<Tr::DiffGat<'a>> + Monoid + Multiply<Output = Tr::Diff> + ExchangeData> + Clone + 'static,
K: Hashable + Default + Ord + 'static,
F: Fn(&P) -> K + Clone + 'static,
P: ExchangeData,
V: Clone + 'static,Expand description
Proposes distinct extensions to a prefix stream.
Unlike propose, this method does not scale the multiplicity of matched
prefixes by the number of matches in arrangement. This can be useful to
avoid the need to prepare an arrangement of distinct extensions.