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

Swap. More...

#include <2_local_search_components.hpp>

Public Member Functions

 Swap (Element from, Element to)
 constructor More...
 
Element get_from () const
 getter for m_from More...
 
Element get_to () const
 getter for m_to More...
 
 Swap (T from, T to)
 constructor More...
 
get_from () const
 from getter More...
 
get_to () const
 to getter More...
 
void set_from (T from)
 form setter More...
 
void set_to (T to)
 from setter More...
 

Detailed Description

template<typename Element>
class paal::local_search::Swap< Element >

Swap.

swap type

Template Parameters
Element
T

Definition at line 28 of file 2_local_search_components.hpp.

Constructor & Destructor Documentation

template<typename Element>
paal::local_search::Swap< Element >::Swap ( Element  from,
Element  to 
)
inline

constructor

Parameters
from
to

Definition at line 35 of file 2_local_search_components.hpp.

template<typename Element>
paal::local_search::Swap< Element >::Swap ( from,
to 
)
inline

constructor

Parameters
from
to

Definition at line 46 of file facility_location_swap.hpp.

Member Function Documentation

template<typename Element>
Element paal::local_search::Swap< Element >::get_from ( ) const
inline

getter for m_from

Returns

Definition at line 42 of file 2_local_search_components.hpp.

template<typename Element>
T paal::local_search::Swap< Element >::get_from ( ) const
inline

from getter

Returns

Definition at line 55 of file facility_location_swap.hpp.

template<typename Element>
Element paal::local_search::Swap< Element >::get_to ( ) const
inline

getter for m_to

Returns

Definition at line 49 of file 2_local_search_components.hpp.

template<typename Element>
T paal::local_search::Swap< Element >::get_to ( ) const
inline

to getter

Returns

Definition at line 62 of file facility_location_swap.hpp.

template<typename Element>
void paal::local_search::Swap< Element >::set_from ( from)
inline

form setter

Parameters
from

Definition at line 69 of file facility_location_swap.hpp.

template<typename Element>
void paal::local_search::Swap< Element >::set_to ( to)
inline

from setter

Parameters
to

Definition at line 76 of file facility_location_swap.hpp.


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