Struct omnitigs::unitigs::NodeUnitigs[][src]

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

A structure storing a vector of node-centric unitigs.

Implementations

impl<Graph: StaticGraph> NodeUnitigs<Graph>[src]

pub fn compute(graph: &Graph) -> Self[src]

Computes the maximal unitigs of a graph.

The unitigs are computed both node- and edge-centric. That means that parallel edges are counted as separate unitig each, and bivalent nodes are counted as unitigs as well.

If the graph is a cycle, it outputs an arbitrary subwalk.

Trait Implementations

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

impl<Graph: GraphBase, IndexType> Index<IndexType> for NodeUnitigs<Graph> where
    Vec<NodeUnitig<Graph>>: Index<IndexType>, 
[src]

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

The returned type after indexing.

impl<Graph: GraphBase> IntoIterator for NodeUnitigs<Graph>[src]

type Item = NodeUnitig<Graph>

The type of the elements being iterated over.

type IntoIter = IntoIter<NodeUnitig<Graph>>

Which kind of iterator are we turning this into?

impl<'a, Graph: 'a + GraphBase> Sequence<'a, NodeUnitig<Graph>, [NodeUnitig<Graph>]> for NodeUnitigs<Graph> where
    Graph::NodeIndex: 'a, 
[src]

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

The iterator type of the sequence.

Auto Trait Implementations

impl<Graph> RefUnwindSafe for NodeUnitigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: RefUnwindSafe,
    <Graph as GraphBase>::NodeIndex: RefUnwindSafe

impl<Graph> Send for NodeUnitigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: Send,
    <Graph as GraphBase>::NodeIndex: Send

impl<Graph> Sync for NodeUnitigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: Sync,
    <Graph as GraphBase>::NodeIndex: Sync

impl<Graph> Unpin for NodeUnitigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: Unpin,
    <Graph as GraphBase>::NodeIndex: Unpin

impl<Graph> UnwindSafe for NodeUnitigs<Graph> where
    <Graph as GraphBase>::EdgeIndex: UnwindSafe,
    <Graph as GraphBase>::NodeIndex: 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<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.

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