regal::plaws::BernouilliLaw Class Reference

#include <BernouilliLaw.hpp>

Inheritance diagram for regal::plaws::BernouilliLaw:

regal::plaws::DiscreteProbabilityLaw List of all members.

Public Member Functions

 BernouilliLaw (const int *tab)
 ~BernouilliLaw ()

Constructor & Destructor Documentation

regal::plaws::BernouilliLaw::BernouilliLaw ( const int *  tab  )  [inline]

Creates a generator of integer, according to the Bernouilli law

Parameters:
tab contains the probability for each value to be picked

regal::plaws::BernouilliLaw::~BernouilliLaw (  )  [inline]

Destroy a BoltzmannSampler


The documentation for this class was generated from the following file:
Generated on Mon Sep 29 16:33:59 2008 for REGAL by  doxygen 1.5.1