PermutedHalton Class Reference

#include <montecarlo.h>

List of all members.

Public Member Functions

 PermutedHalton (uint32_t d, RNG &rng)
 ~PermutedHalton ()
void Sample (uint32_t n, float *out) const

Private Member Functions

 PermutedHalton (const PermutedHalton &)
PermutedHaltonoperator= (const PermutedHalton &)

Private Attributes

uint32_t dims
uint32_t * b
uint32_t * permute

Detailed Description

Definition at line 207 of file montecarlo.h.


Constructor & Destructor Documentation

PermutedHalton::PermutedHalton ( uint32_t  d,
RNG rng 
)

Definition at line 372 of file montecarlo.cpp.

References b, dims, GeneratePermutation(), permute, and primes.

PermutedHalton::~PermutedHalton (  )  [inline]

Definition at line 211 of file montecarlo.h.

References b, and permute.

PermutedHalton::PermutedHalton ( const PermutedHalton  )  [private]

Member Function Documentation

PermutedHalton& PermutedHalton::operator= ( const PermutedHalton  )  [private]
void PermutedHalton::Sample ( uint32_t  n,
float *  out 
) const [inline]

Definition at line 215 of file montecarlo.h.

References b, dims, OneMinusEpsilon, permute, and PermutedRadicalInverse().

Referenced by PhotonShootingTask::Run().


Member Data Documentation

uint32_t* PermutedHalton::b [private]

Definition at line 226 of file montecarlo.h.

Referenced by PermutedHalton(), Sample(), and ~PermutedHalton().

uint32_t PermutedHalton::dims [private]

Definition at line 225 of file montecarlo.h.

Referenced by PermutedHalton(), and Sample().

uint32_t * PermutedHalton::permute [private]

Definition at line 226 of file montecarlo.h.

Referenced by PermutedHalton(), Sample(), and ~PermutedHalton().


The documentation for this class was generated from the following files:
Generated on Sat Aug 28 20:00:14 2010 for pbrt by  doxygen 1.6.3