pub struct StCuts {
pub cuts: Vec<Vec<u32>>,
pub partition1s: Vec<Vec<VertexId>>,
}Expand description
Result of all_st_cuts.
cuts[i] and partition1s[i] describe the same cut: partition1s[i]
is the source-side vertex set X (always contains source, never
target), and cuts[i] lists the ids of the edges leaving X
(from ∈ X, to ∉ X). Vertices within each partition and edge ids
within each cut are sorted ascending.
Fields§
§cuts: Vec<Vec<u32>>Edge-id list of each cut, sorted ascending.
partition1s: Vec<Vec<VertexId>>Source-side vertex set generating each cut, sorted ascending.
Trait Implementations§
impl Eq for StCuts
impl StructuralPartialEq for StCuts
Auto Trait Implementations§
impl Freeze for StCuts
impl RefUnwindSafe for StCuts
impl Send for StCuts
impl Sync for StCuts
impl Unpin for StCuts
impl UnsafeUnpin for StCuts
impl UnwindSafe for StCuts
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