gatb.core-API-1.4.2
NullTraversalTemplate< Node, Edge, Graph > Class Template Reference

Null implementation of Traversal. More...

#include <Traversal.hpp>

Inheritance diagram for NullTraversalTemplate< Node, Edge, Graph >:
Inheritance graph

Public Member Functions

 NullTraversalTemplate (const Graph &graph, TerminatorTemplate< Node, Edge, Graph > &terminator, int maxlen=NullTraversalTemplate::defaultMaxLen, int max_depth=NullTraversalTemplate::defaultMaxDepth, int max_breadth=NullTraversalTemplate::defaultMaxBreadth)
 
std::string getName () const
 
- Public Member Functions inherited from TraversalTemplate< Node, Edge, Graph >
int traverse (Node &node, Direction dir, Path_t< Node > &resulting_sequence)
 
int traverse (Node &startingNode, Node &endingNode, Direction dir, Path_t< Node > &resulting_sequence)
 
unsigned int getMaxDepth () const
 
unsigned int getMaxBreadth () const
 
const std::vector< std::pair< int, int > > & getBubbles () const
 
- Public Member Functions inherited from SmartPointer
void use ()
 
void forget ()
 
- Public Member Functions inherited from ISmartPointer
virtual ~ISmartPointer ()
 

Additional Inherited Members

- Static Public Member Functions inherited from TraversalTemplate< Node, Edge, Graph >
static TraversalTemplate< Node, Edge, Graph > * create (tools::misc::TraversalKind type, const Graph &graph, TerminatorTemplate< Node, Edge, Graph > &terminator, int max_len=defaultMaxLen, int max_depth=defaultMaxDepth, int max_breadth=defaultMaxBreadth)
 
static TraversalTemplate< Node, Edge, Graph > * create (const std::string &type, const Graph &graph, TerminatorTemplate< Node, Edge, Graph > &terminator, int max_len=defaultMaxLen, int max_depth=defaultMaxDepth, int max_breadth=defaultMaxBreadth)
 
static float needleman_wunch (const Path_t< Node > &a, const Path_t< Node > &b)
 
- Protected Member Functions inherited from SmartPointer
 SmartPointer ()
 
virtual ~SmartPointer ()
 

Detailed Description

template<typename Node, typename Edge, typename Graph>
class gatb::core::debruijn::impl::NullTraversalTemplate< Node, Edge, Graph >

Null implementation of Traversal.

This class returns empty Path as a result of traverse.

Constructor & Destructor Documentation

NullTraversalTemplate ( const Graph graph,
TerminatorTemplate< Node, Edge, Graph > &  terminator,
int  maxlen = NullTraversalTemplateNodeEdgeGraph >::defaultMaxLen,
int  max_depth = NullTraversalTemplateNodeEdgeGraph >::defaultMaxDepth,
int  max_breadth = NullTraversalTemplateNodeEdgeGraph >::defaultMaxBreadth 
)
inline

Factory method that creates an instance of NullTraversal

Parameters
[in]graph: graph object to be traversed
[in]terminator: object used to tag traversed nodes
[in]maxlen: maximum length of the traversal
[in]max_depth: maximum depth of the traversal
[in]max_breadth: maximum depth of the traversal

Member Function Documentation

std::string getName ( ) const
inlinevirtual

Get the name of the traversal

Returns
the name

Implements TraversalTemplate< Node, Edge, Graph >.


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