OKlibrary  0.2.1.6
OKlib::Combinatorics::Hypergraphs::Generators::Iterator_arithmetic_progression< Integer > Class Template Reference

Iterator to iterate through the elements of an arithmetical progression. More...

#include <VanderWaerden.hpp>

Inheritance diagram for OKlib::Combinatorics::Hypergraphs::Generators::Iterator_arithmetic_progression< Integer >:
iterator

List of all members.

Public Types

typedef
::OKlib::Concepts::MultiPassInputIterator_tag 
concept_tag

Public Member Functions

 Iterator_arithmetic_progression (const Integer start_value, const Integer slope)
Integer operator* () const
Iterator_arithmetic_progressionoperator++ ()
Iterator_arithmetic_progression operator++ (int)

Detailed Description

template<typename Integer>
class OKlib::Combinatorics::Hypergraphs::Generators::Iterator_arithmetic_progression< Integer >

Iterator to iterate through the elements of an arithmetical progression.

Todo:
Make a const random iterator out of it.

Definition at line 40 of file VanderWaerden.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation

template<typename Integer>
OKlib::Combinatorics::Hypergraphs::Generators::Iterator_arithmetic_progression< Integer >::Iterator_arithmetic_progression ( const Integer  start_value,
const Integer  slope 
) [inline]

Definition at line 45 of file VanderWaerden.hpp.


Member Function Documentation

template<typename Integer>
Integer OKlib::Combinatorics::Hypergraphs::Generators::Iterator_arithmetic_progression< Integer >::operator* ( ) const [inline]

Definition at line 46 of file VanderWaerden.hpp.


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