pub trait HeuristicFilter {
    // Required methods
    fn get_heuristic_filter(&self) -> Option<HeuristicFilterFn>;
    fn set_heuristic_filter(
        &mut self,
        heuristic_filter: Arc<dyn Fn(&str) -> bool + Send + Sync>
    );
}
Expand description

A type to use a filtering by meta heuristics name. The corresponding function returns true if heuristic can be used.

Required Methods§

source

fn get_heuristic_filter(&self) -> Option<HeuristicFilterFn>

Gets heuristic filter.

source

fn set_heuristic_filter( &mut self, heuristic_filter: Arc<dyn Fn(&str) -> bool + Send + Sync> )

Sets heuristic filter.

Implementors§