Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Stable_manifold_as_list_traits< Point > Class Template Reference

Simple representation of a stable manifold as a list of points. More...

#include <Morse_Smale_Witten_chain_complex.hpp>

Requirements

static void add_point (const Point &p, Stable_manifold &manifold)
 Adds a point to the input manifold in constant time. More...
 
template<class OutputIterator >
static OutputIterator get_points (Stable_manifold &manifold, OutputIterator out)
 Returns the list of points of the input manifold in the output iterator in linear time to the size of the input manifold. More...
 
static void merge_in (Stable_manifold &man_1, Stable_manifold &man_2)
 Merges the manifold man_1 into man_2 by merging the lists in constant time (this reduces the size of man_1, and increases the size of man_2). More...
 

Detailed Description

template<class Point>
class SBL::GT::T_Stable_manifold_as_list_traits< Point >

Simple representation of a stable manifold as a list of points.

Template Parameters
PointType of points in the stable manifold.

Member Function Documentation

◆ add_point()

static void add_point ( const Point &  p,
Stable_manifold &  manifold 
)
inlinestatic

Adds a point to the input manifold in constant time.

◆ get_points()

static OutputIterator get_points ( Stable_manifold &  manifold,
OutputIterator  out 
)
inlinestatic

Returns the list of points of the input manifold in the output iterator in linear time to the size of the input manifold.

◆ merge_in()

static void merge_in ( Stable_manifold &  man_1,
Stable_manifold &  man_2 
)
inlinestatic

Merges the manifold man_1 into man_2 by merging the lists in constant time (this reduces the size of man_1, and increases the size of man_2).