pub trait BranchRule {
    // Required method
    fn execute(
        &mut self,
        candidates: Vec<BranchingCandidate>
    ) -> BranchingResult;
}
Expand description

A trait for defining custom branching rules.

Required Methods§

source

fn execute(&mut self, candidates: Vec<BranchingCandidate>) -> BranchingResult

Executes the branching rule on the given candidates and returns the result.

Implementors§