pub struct EvenTarjanReduction {
pub graph: Graph,
pub capacity: Vec<f64>,
}Expand description
The Even–Tarjan reduction of a graph, see Graph::even_tarjan_reduction.
Fields§
§graph: GraphThe reduced directed graph, with 2 n vertices and n + 2 m edges.
capacity: Vec<f64>Capacities of the reduced graph’s edges: 1 for the first n edges
(the i' → i'' “vertex” edges) and n (standing for infinity) for the
remaining 2 m edges.
Trait Implementations§
Source§impl Clone for EvenTarjanReduction
impl Clone for EvenTarjanReduction
Source§fn clone(&self) -> EvenTarjanReduction
fn clone(&self) -> EvenTarjanReduction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EvenTarjanReduction
impl Debug for EvenTarjanReduction
Source§impl PartialEq for EvenTarjanReduction
impl PartialEq for EvenTarjanReduction
Source§fn eq(&self, other: &EvenTarjanReduction) -> bool
fn eq(&self, other: &EvenTarjanReduction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EvenTarjanReduction
Auto Trait Implementations§
impl !Sync for EvenTarjanReduction
impl Freeze for EvenTarjanReduction
impl RefUnwindSafe for EvenTarjanReduction
impl Send for EvenTarjanReduction
impl Unpin for EvenTarjanReduction
impl UnsafeUnpin for EvenTarjanReduction
impl UnwindSafe for EvenTarjanReduction
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