Scaffolding  0.1
This program can assemble genome scaffolds using the pairing information in paired-end reads.
Public Types | Public Member Functions | Public Attributes | List of all members
scaffold::predicates::MatchingPredicate< Graph > Struct Template Reference

an edge predicate that is true iff the given edge is (not) a matching edge More...

#include <predicates.hpp>

Inheritance diagram for scaffold::predicates::MatchingPredicate< Graph >:
scaffold::predicates::Predicate< Edge< Graph > >

Public Types

using Element = Edge< Graph >
 

Public Member Functions

 MatchingPredicate (const Graph &_g, const bool _invert=false)
 constructer More...
 
bool operator() (const Element &e) const
 
- Public Member Functions inherited from scaffold::predicates::Predicate< Edge< Graph > >
 Predicate (const bool _invert=false)
 constructor
 
virtual bool operator() (const Edge< Graph > &e) const =0
 all predicates must implement operator()
 

Public Attributes

const Graph & g
 reference to the graph for which containment should be checked
 
- Public Attributes inherited from scaffold::predicates::Predicate< Edge< Graph > >
const bool invert
 indicate whether the predicate should be inverted
 

Detailed Description

template<typename Graph>
struct scaffold::predicates::MatchingPredicate< Graph >

an edge predicate that is true iff the given edge is (not) a matching edge

changing the graph will change the result of predicate checks

Constructor & Destructor Documentation

template<typename Graph >
scaffold::predicates::MatchingPredicate< Graph >::MatchingPredicate ( const Graph &  _g,
const bool  _invert = false 
)
inline

constructer

if _invert is set, then the predicate is FALSE iff the given edge is in the graph g


The documentation for this struct was generated from the following file: