pub enum SubproblemResolution<Node: ?Sized, Score> {
Branched(Box<dyn Iterator<Item = Node>>),
Solved(Score),
}Expand description
Represents the set of subproblems of an intermediate problem or the value of the objective function of a feasible solution (leaf node).
Variants§
Branched(Box<dyn Iterator<Item = Node>>)
Subproblems of an intermediate problem
Solved(Score)
The value of the objective function of a feasible solution
Auto Trait Implementations§
impl<Node, Score> Freeze for SubproblemResolution<Node, Score>
impl<Node, Score> !RefUnwindSafe for SubproblemResolution<Node, Score>
impl<Node, Score> !Send for SubproblemResolution<Node, Score>
impl<Node, Score> !Sync for SubproblemResolution<Node, Score>
impl<Node, Score> Unpin for SubproblemResolution<Node, Score>
impl<Node, Score> !UnwindSafe for SubproblemResolution<Node, Score>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more