[][src]Struct saboten::cactusgraph::BridgeForest

pub struct BridgeForest<'a> {
    pub original_graph: &'a BiedgedGraph,
    pub graph: BiedgedGraph,
    pub projection: Projection,
}

A bridge forest derived from a cactus graph. Holds a reference to the original biedged graph used to build the cactus graph, and tracks the vertex projections from the original graph.

Fields

original_graph: &'a BiedgedGraphgraph: BiedgedGraphprojection: Projection

Implementations

impl<'a> BridgeForest<'a>[src]

pub fn from_cactus_graph(cactus_graph: &CactusGraph<'a>) -> Self[src]

pub fn find_bridge_pairs(&self) -> FnvHashSet<BridgePair>[src]

Find the bridge pairs in the graph, returning them as a set of snarls.

Trait Implementations

Auto Trait Implementations

impl<'a> RefUnwindSafe for BridgeForest<'a>

impl<'a> Send for BridgeForest<'a>

impl<'a> Sync for BridgeForest<'a>

impl<'a> Unpin for BridgeForest<'a>

impl<'a> UnwindSafe for BridgeForest<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.