Skip to main content

SelectionOperator

Trait SelectionOperator 

Source
pub trait SelectionOperator: Send + Sync {
    // Required method
    fn select(
        &self,
        population: &[ArchitectureCandidate],
        selection_size: usize,
    ) -> Vec<usize>;
}
Expand description

Trait for selection operators

Required Methods§

Source

fn select( &self, population: &[ArchitectureCandidate], selection_size: usize, ) -> Vec<usize>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§