regal::BoltzmannSampler Class Reference

#include <BoltzmannSampler.hpp>

List of all members.

Public Member Functions

 BoltzmannSampler (const int &size=2, const int &subset=2)
int getRejectCounter ()
int * sample ()
 ~BoltzmannSampler ()


Constructor & Destructor Documentation

regal::BoltzmannSampler::BoltzmannSampler ( const int &  size = 2,
const int &  subset = 2 
) [inline]

Creates a Boltzmann Sampler

Parameters:
size is the set we wants to generate
subset is the number of subset in the partition

regal::BoltzmannSampler::~BoltzmannSampler (  )  [inline]

Destroy a BoltzmannSampler


Member Function Documentation

int regal::BoltzmannSampler::getRejectCounter (  )  [inline]

int * regal::BoltzmannSampler::sample (  ) 

Creates a partition, guaranteeing an equiprobability among the results.

Returns:
a partition


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