OKlibrary  0.2.1.6
OKlib::Combinatorics::Hypergraphs::Generators::Accumulate_l< V, Num > Class Template Reference

Changes a vector of pairs in-place, replacing the second components by the accumulated sums. More...

#include <GreenTao.hpp>

List of all members.

Public Types

typedef V label_type
typedef Num number_type
typedef std::pair< label_type,
number_type
pair_type
typedef std::vector< pair_typevector_type

Public Member Functions

void operator() (vector_type &vector)

Detailed Description

template<typename V, typename Num>
class OKlib::Combinatorics::Hypergraphs::Generators::Accumulate_l< V, Num >

Changes a vector of pairs in-place, replacing the second components by the accumulated sums.

See specification accumulate_l in ComputerAlgebra/Hypergraphs/Lisp/Stratification.mac.

Todo:
Create application tests.
Todo:
Create unit tests.
Todo:
Move to stratification submodule.

Definition at line 297 of file GreenTao.hpp.


Member Typedef Documentation

template<typename V , typename Num >
typedef V OKlib::Combinatorics::Hypergraphs::Generators::Accumulate_l< V, Num >::label_type

Definition at line 298 of file GreenTao.hpp.

template<typename V , typename Num >
typedef Num OKlib::Combinatorics::Hypergraphs::Generators::Accumulate_l< V, Num >::number_type

Definition at line 299 of file GreenTao.hpp.

template<typename V , typename Num >
typedef std::pair<label_type, number_type> OKlib::Combinatorics::Hypergraphs::Generators::Accumulate_l< V, Num >::pair_type

Definition at line 300 of file GreenTao.hpp.

template<typename V , typename Num >
typedef std::vector<pair_type> OKlib::Combinatorics::Hypergraphs::Generators::Accumulate_l< V, Num >::vector_type

Definition at line 301 of file GreenTao.hpp.


Member Function Documentation

template<typename V , typename Num >
void OKlib::Combinatorics::Hypergraphs::Generators::Accumulate_l< V, Num >::operator() ( vector_type vector) [inline]

Definition at line 302 of file GreenTao.hpp.

References end.


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