Struct omnitigs::macrotigs::microtigs::Microtigs[][src]

pub struct Microtigs<Graph: GraphBase> { /* fields omitted */ }

A structure containing microtigs of a graph.

Since we do not compress our graph, the bivalent edges that cause a microtig to end might be paths. To make connecting microtigs simpler, we therefore define a maximal microtig as ending and starting with the last edge of a bivalent path.

Implementations

impl<Graph: GraphBase> Microtigs<Graph>[src]

pub fn new_with_statistics(macronodes_without_microtig_amount: usize) -> Self[src]

Creates a new empty Microtigs struct.

pub fn from_vec_with_statistics(
    microtigs: Vec<VecEdgeWalk<Graph>>,
    macronodes_without_microtig_amount: usize
) -> Self
[src]

Creates a new Microtigs struct with the given vector of microtigs.

pub fn macronodes_without_microtig_amount(&self) -> usize[src]

Returns the amount of macronodes without microtigs that were found while computing this set of microtigs.

Trait Implementations

impl<Graph: Clone + GraphBase> Clone for Microtigs<Graph>[src]

impl<Graph: GraphBase> Debug for Microtigs<Graph> where
    Graph::NodeIndex: Debug
[src]

impl<Graph: GraphBase> Eq for Microtigs<Graph> where
    Graph::EdgeIndex: Eq
[src]

impl<Graph: GraphBase> From<Vec<Vec<<Graph as GraphBase>::EdgeIndex, Global>, Global>> for Microtigs<Graph>[src]

impl<Graph: GraphBase, IndexType> Index<IndexType> for Microtigs<Graph> where
    Vec<VecEdgeWalk<Graph>>: Index<IndexType>, 
[src]

type Output = <Vec<VecEdgeWalk<Graph>> as Index<IndexType>>::Output

The returned type after indexing.

impl<Graph: GraphBase> PartialEq<Microtigs<Graph>> for Microtigs<Graph> where
    Graph::EdgeIndex: PartialEq
[src]

impl<'a, Graph: 'a + GraphBase> Sequence<'a, Vec<<Graph as GraphBase>::EdgeIndex, Global>, [Vec<<Graph as GraphBase>::EdgeIndex, Global>]> for Microtigs<Graph>[src]

type Iterator = Iter<'a, VecEdgeWalk<Graph>>

The iterator type of the sequence.

Auto Trait Implementations

impl<Graph> RefUnwindSafe for Microtigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: RefUnwindSafe

impl<Graph> Send for Microtigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: Send

impl<Graph> Sync for Microtigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: Sync

impl<Graph> Unpin for Microtigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: Unpin

impl<Graph> UnwindSafe for Microtigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: UnwindSafe

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,