pub struct FlowNetwork {
pub num_nodes: usize,
/* private fields */
}Expand description
A flow network for max flow / min cost flow problems
Fields§
§num_nodes: usizeNumber of nodes
Implementations§
Source§impl FlowNetwork
impl FlowNetwork
Trait Implementations§
Source§impl Clone for FlowNetwork
impl Clone for FlowNetwork
Source§fn clone(&self) -> FlowNetwork
fn clone(&self) -> FlowNetwork
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 FlowNetwork
impl RefUnwindSafe for FlowNetwork
impl Send for FlowNetwork
impl Sync for FlowNetwork
impl Unpin for FlowNetwork
impl UnsafeUnpin for FlowNetwork
impl UnwindSafe for FlowNetwork
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