Public Member Functions | Protected Member Functions | Protected Attributes
mets::swap_neighborhood< random_generator > Class Template Reference

Generates a stochastic subset of the neighborhood. More...

#include <model.hh>

Inheritance diagram for mets::swap_neighborhood< random_generator >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void refresh (mets::feasible_solution &s)
 Selects a different set of moves at each iteration.
 swap_neighborhood (random_generator &r, unsigned int moves)
 A neighborhood exploration strategy for mets::swap_elements.
 ~swap_neighborhood ()
 Dtor.

Protected Member Functions

void randomize_move (swap_elements &m, unsigned int size)

Protected Attributes

std::tr1::uniform_int int_range
unsigned int n
random_generator & rng

Detailed Description

template<typename random_generator = std::tr1::minstd_rand0>
class mets::swap_neighborhood< random_generator >

Generates a stochastic subset of the neighborhood.

Definition at line 556 of file model.hh.


Member Data Documentation

template<typename random_generator = std::tr1::minstd_rand0>
std::tr1::uniform_int mets::swap_neighborhood< random_generator >::int_range [protected]

Definition at line 585 of file model.hh.

template<typename random_generator = std::tr1::minstd_rand0>
unsigned int mets::swap_neighborhood< random_generator >::n [protected]

Definition at line 587 of file model.hh.

template<typename random_generator = std::tr1::minstd_rand0>
random_generator& mets::swap_neighborhood< random_generator >::rng [protected]

Definition at line 578 of file model.hh.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:54