Skip to main content

CandidateProposer

Trait CandidateProposer 

Source
pub trait CandidateProposer {
    // Required method
    fn propose(&self, labels: &[usize]) -> Vec<Vec<usize>>;
}
Expand description

Propose candidate group labels each entity may move into on one sweep.

The returned slice candidates[e] MUST include labels[e] (staying put is always legal) and MUST index into the current 0..k label space.

Required Methods§

Source

fn propose(&self, labels: &[usize]) -> Vec<Vec<usize>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§