edoSamplerUniform< EOT, D > Class Template Reference

This class uses the Uniform distribution parameters (bounds) to return a random position used for population sampling. More...

#include <edoSamplerUniform.h>

Inheritance diagram for edoSamplerUniform< EOT, D >:
edoSampler< D >

List of all members.

Public Types

typedef D Distrib

Public Member Functions

 edoSamplerUniform (edoRepairer< EOT > &repairer)
EOT sample (edoUniform< EOT > &distrib)

Detailed Description

template<typename EOT, class D = edoUniform<EOT>>
class edoSamplerUniform< EOT, D >

This class uses the Uniform distribution parameters (bounds) to return a random position used for population sampling.

Returns a random number in [min,max[ for each variable defined by the given distribution.

Note: if the distribution given at call defines a min==max for one of the variable, the result will be the same number.

Definition at line 49 of file edoSamplerUniform.h.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Typedefs