All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Types | Public Member Functions | List of all members
paal::data_structures::cycle_start_from_last_change< Cycle > Class Template Reference

adopts any cycle to start (vbegin) i place of the last change(flip) More...

#include <cycle_start_from_last_change.hpp>

Public Types

typedef cycle_traits< Cycle >
::CycleElem 
CycleElem
 
typedef cycle_traits< Cycle >
::vertex_iterator 
vertex_iterator
 

Public Member Functions

 cycle_start_from_last_change (Cycle &c)
 constructor More...
 
void flip (const CycleElem &begin, const CycleElem &end)
 flip stores place of this flip More...
 
vertex_iterator vbegin () const
 vbegin starts from last flip More...
 
vertex_iterator vbegin (const CycleElem &ce) const
 vbegin starts from ce More...
 
vertex_iterator vend () const
 vertices end More...
 
Cycle & get_cycle ()
 cycle getter More...
 
const Cycle & get_cycle () const
 cycle getter const version More...
 

Detailed Description

template<typename Cycle>
class paal::data_structures::cycle_start_from_last_change< Cycle >

adopts any cycle to start (vbegin) i place of the last change(flip)

Template Parameters
Cycle

Definition at line 28 of file cycle_start_from_last_change.hpp.

Constructor & Destructor Documentation

template<typename Cycle >
paal::data_structures::cycle_start_from_last_change< Cycle >::cycle_start_from_last_change ( Cycle &  c)
inline

constructor

Parameters
c

Definition at line 38 of file cycle_start_from_last_change.hpp.

Member Function Documentation

template<typename Cycle >
void paal::data_structures::cycle_start_from_last_change< Cycle >::flip ( const CycleElem &  begin,
const CycleElem &  end 
)
inline

flip stores place of this flip

Parameters
begin
end

Definition at line 47 of file cycle_start_from_last_change.hpp.

template<typename Cycle >
Cycle& paal::data_structures::cycle_start_from_last_change< Cycle >::get_cycle ( )
inline

cycle getter

Returns

Definition at line 82 of file cycle_start_from_last_change.hpp.

template<typename Cycle >
const Cycle& paal::data_structures::cycle_start_from_last_change< Cycle >::get_cycle ( ) const
inline

cycle getter const version

Returns

Definition at line 89 of file cycle_start_from_last_change.hpp.

template<typename Cycle >
vertex_iterator paal::data_structures::cycle_start_from_last_change< Cycle >::vbegin ( ) const
inline

vbegin starts from last flip

Returns

Definition at line 57 of file cycle_start_from_last_change.hpp.

template<typename Cycle >
vertex_iterator paal::data_structures::cycle_start_from_last_change< Cycle >::vbegin ( const CycleElem &  ce) const
inline

vbegin starts from ce

Parameters
ce
Returns

Definition at line 66 of file cycle_start_from_last_change.hpp.

template<typename Cycle >
vertex_iterator paal::data_structures::cycle_start_from_last_change< Cycle >::vend ( ) const
inline

vertices end

Returns

Definition at line 75 of file cycle_start_from_last_change.hpp.


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