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]
microtigs: Vec<VecEdgeWalk<Graph>>,
macronodes_without_microtig_amount: usize
) -> Self
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]
Graph::NodeIndex: Debug,
impl<Graph: GraphBase> Eq for Microtigs<Graph> where
Graph::EdgeIndex: Eq,
[src]
Graph::EdgeIndex: Eq,
impl<Graph: GraphBase> From<Vec<Vec<<Graph as GraphBase>::EdgeIndex, Global>, Global>> for Microtigs<Graph>
[src]
fn from(microtigs: Vec<VecEdgeWalk<Graph>>) -> Self
[src]
impl<Graph: GraphBase, IndexType> Index<IndexType> for Microtigs<Graph> where
Vec<VecEdgeWalk<Graph>>: Index<IndexType>,
[src]
Vec<VecEdgeWalk<Graph>>: Index<IndexType>,
type Output = <Vec<VecEdgeWalk<Graph>> as Index<IndexType>>::Output
The returned type after indexing.
fn index(&self, index: IndexType) -> &Self::Output
[src]
impl<Graph: GraphBase> PartialEq<Microtigs<Graph>> for Microtigs<Graph> where
Graph::EdgeIndex: PartialEq,
[src]
Graph::EdgeIndex: PartialEq,
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.
fn iter(&'a self) -> Self::Iterator
[src]
fn len(&self) -> usize
[src]
pub fn prefix(&'a self, len: usize) -> &'a Subsequence
[src]
pub fn suffix(&'a self, len: usize) -> &'a Subsequence
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn first(&'a self) -> Option<&'a Item>
[src]
pub fn last(&'a self) -> Option<&'a Item>
[src]
pub fn is_proper_subsequence_of(&'a self, other: &Self) -> bool where
Item: Eq,
[src]
Item: Eq,
pub fn contains(&'a self, item: &Item) -> bool where
Item: Eq,
[src]
Item: Eq,
pub fn forward_merge_iter_assume_mergeable(
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
[src]
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
pub fn backward_merge_iter_assume_mergeable(
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
[src]
&'a self,
suffix: &'a Self
) -> Chain<Self::Iterator, Skip<Self::Iterator>> where
Item: Eq,
pub fn to_debug_string(&'a self) -> String where
Item: Debug,
[src]
Item: Debug,
Auto Trait Implementations
impl<Graph> RefUnwindSafe for Microtigs<Graph> where
<Graph as GraphBase>::EdgeIndex: RefUnwindSafe,
<Graph as GraphBase>::EdgeIndex: RefUnwindSafe,
impl<Graph> Send for Microtigs<Graph> where
<Graph as GraphBase>::EdgeIndex: Send,
<Graph as GraphBase>::EdgeIndex: Send,
impl<Graph> Sync for Microtigs<Graph> where
<Graph as GraphBase>::EdgeIndex: Sync,
<Graph as GraphBase>::EdgeIndex: Sync,
impl<Graph> Unpin for Microtigs<Graph> where
<Graph as GraphBase>::EdgeIndex: Unpin,
<Graph as GraphBase>::EdgeIndex: Unpin,
impl<Graph> UnwindSafe for Microtigs<Graph> where
<Graph as GraphBase>::EdgeIndex: UnwindSafe,
<Graph as GraphBase>::EdgeIndex: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,