Trait russcip::branchrule::BranchRule
source · pub trait BranchRule {
// Required method
fn execute(
&mut self,
candidates: Vec<BranchingCandidate>
) -> BranchingResult;
}
Expand description
A trait for defining custom branching rules.
Required Methods§
sourcefn execute(&mut self, candidates: Vec<BranchingCandidate>) -> BranchingResult
fn execute(&mut self, candidates: Vec<BranchingCandidate>) -> BranchingResult
Executes the branching rule on the given candidates and returns the result.