pub struct MinCutResult {
pub cut_value: f64,
pub source_side: HashSet<usize>,
pub sink_side: HashSet<usize>,
pub cut_edges: Vec<(usize, usize)>,
}Expand description
Result of min-cut computation
Fields§
§cut_value: f64§source_side: HashSet<usize>§sink_side: HashSet<usize>§cut_edges: Vec<(usize, usize)>Trait Implementations§
Source§impl Clone for MinCutResult
impl Clone for MinCutResult
Source§fn clone(&self) -> MinCutResult
fn clone(&self) -> MinCutResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MinCutResult
impl RefUnwindSafe for MinCutResult
impl Send for MinCutResult
impl Sync for MinCutResult
impl Unpin for MinCutResult
impl UnsafeUnpin for MinCutResult
impl UnwindSafe for MinCutResult
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