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

adapts cycle to have begin and end pointing to edge collection More...

#include <2_local_search_solution_adapter.hpp>

Public Types

typedef Cycle::vertex_iterator vertex_iterator
 
typedef
data_structures::vertex_to_edge_iterator
< vertex_iterator > 
Iterator
 

Public Member Functions

 two_local_search_adapter (Cycle &cm)
 constructor More...
 
Iterator begin () const
 Edges begin. More...
 
Iterator end () const
 Edges end. More...
 
Cycle & get_cycle ()
 gets adopted cycle More...
 
const Cycle & get_cycle () const
 gets adopted cycle const version More...
 

Detailed Description

template<typename Cycle>
class paal::local_search::two_local_search_adapter< Cycle >

adapts cycle to have begin and end pointing to edge collection

Template Parameters
Cycle

Definition at line 28 of file 2_local_search_solution_adapter.hpp.

Constructor & Destructor Documentation

template<typename Cycle>
paal::local_search::two_local_search_adapter< Cycle >::two_local_search_adapter ( Cycle &  cm)
inline

constructor

Parameters
cm

Definition at line 38 of file 2_local_search_solution_adapter.hpp.

Member Function Documentation

template<typename Cycle>
Iterator paal::local_search::two_local_search_adapter< Cycle >::begin ( ) const
inline

Edges begin.

Returns

Definition at line 45 of file 2_local_search_solution_adapter.hpp.

template<typename Cycle>
Iterator paal::local_search::two_local_search_adapter< Cycle >::end ( ) const
inline

Edges end.

Returns

Definition at line 55 of file 2_local_search_solution_adapter.hpp.

template<typename Cycle>
Cycle& paal::local_search::two_local_search_adapter< Cycle >::get_cycle ( )
inline

gets adopted cycle

Returns

Definition at line 65 of file 2_local_search_solution_adapter.hpp.

template<typename Cycle>
const Cycle& paal::local_search::two_local_search_adapter< Cycle >::get_cycle ( ) const
inline

gets adopted cycle const version

Returns

Definition at line 72 of file 2_local_search_solution_adapter.hpp.


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