pub trait Clusterer: Send + Sync {
// Required method
fn cluster(&self, pairs: &[ScoredPair], params: &ModelParams) -> Vec<Entity>;
}Expand description
Groups scored pairs into entity clusters.
Required Methods§
fn cluster(&self, pairs: &[ScoredPair], params: &ModelParams) -> Vec<Entity>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".