Skip to main content

CutGraph

Type Alias CutGraph 

Source
pub type CutGraph<E, V, H, N> = HedgeGraph<PossiblyCutEdge<E>, V, H, N>;

Aliased Type§

pub struct CutGraph<E, V, H, N> {
    pub node_store: N,
    /* private fields */
}

Fields§

§node_store: N

Storage for all nodes in the graph, including their data (V) and information about the half-edges incident to them. The specific implementation is determined by the S type parameter.

Implementations§

Source§

impl<E, V, H, N: NodeStorageOps<NodeData = V>> CutGraph<E, V, H, N>

Source

pub fn split(&mut self)

Source

pub fn split_clone(&mut self)
where E: Clone,

Source

pub fn split_copy(&mut self)
where E: Copy,

Source

pub fn round_trip_split(&mut self)

Source

pub fn round_trip_glue(&mut self)

Source

pub fn cut(&self) -> OrientedCut

Source

pub fn debug_cut_dot(&self) -> String

Source

pub fn glue_back_strict(&mut self)

glues_back a cut graph. only matches edges with the same cut data, reversed cut flow, and compatible orientation and flow.

Source

pub fn glue_back_lenient(&mut self)

glues_back a cut graph. only matches edges with the same cut data, reversed cut flow, and compatible orientation and without flow matching.