ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class template random_choice

alps::random_choice

Synopsis

// In header: <alps/random/random_choice.hpp>

template<typename RNG> 
class random_choice {
public:
  // construct/copy/destruct
  random_choice();
  template<typename CONT> random_choice(const CONT &);
};

Description

random_choice public construct/copy/destruct

  1. random_choice();
  2. template<typename CONT> random_choice(const CONT & weights);
Copyright © 2006-2008 Brigitte Surer, Matthias Troyer

PrevUpHomeNext