bioprocessing  5.1.2
bio::CoustyStream< V > Class Template Reference

Streams represent a descent path in a graph. More...

#include <bioprocessing/watershed/coustystream.h>

Inheritance diagram for bio::CoustyStream< V >:
Collaboration diagram for bio::CoustyStream< V >:

Public Types

typedef V Vertex
 

Public Member Functions

 CoustyStream ()
 
 CoustyStream (Vertex x)
 
 ~CoustyStream ()
 
void reset (Vertex x)
 

Protected Types

typedef std::set< V > Base
 

Detailed Description

template<typename V>
class bio::CoustyStream< V >

Streams represent a descent path in a graph.

They are used in Cousty's watershed to follow a drop of water. They are nothing more than a set of vertices. I think there is a better implementation possible (Cousrty et al recommand the use of stacks).

Definition at line 30 of file coustystream.h.

Member Typedef Documentation

◆ Base

template<typename V >
typedef std::set<V> bio::CoustyStream< V >::Base
protected

Definition at line 34 of file coustystream.h.

◆ Vertex

template<typename V >
typedef V bio::CoustyStream< V >::Vertex

Definition at line 36 of file coustystream.h.

Constructor & Destructor Documentation

◆ CoustyStream() [1/2]

template<typename V >
bio::CoustyStream< V >::CoustyStream ( )
inline

Definition at line 40 of file coustystream.h.

◆ CoustyStream() [2/2]

template<typename V >
bio::CoustyStream< V >::CoustyStream ( Vertex  x)
inline

Definition at line 41 of file coustystream.h.

◆ ~CoustyStream()

template<typename V >
bio::CoustyStream< V >::~CoustyStream ( )
inline

Definition at line 45 of file coustystream.h.

Member Function Documentation

◆ reset()

template<typename V >
void bio::CoustyStream< V >::reset ( Vertex  x)
inline

Definition at line 49 of file coustystream.h.


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