Base class for samplers. More...
#include <edoSampler.h>
Public Types | |
typedef D::EOType | EOType |
Public Member Functions | |
edoSampler (edoRepairer< EOType > &repairer) | |
EOType | operator() (D &distrib) |
Protected Member Functions | |
virtual EOType | sample (D &)=0 |
Private Attributes | |
edoBounderNo< EOType > | _dummy_repairer |
edoRepairer< EOType > & | _repairer |
repairer functor |
Base class for samplers.
The functor here is already implemented: it first sample an EOT from the given distribution, and then apply the given repairers (if set).
Thus, the function that need to be overloaded is "sample", unlike most of EO functors.
Definition at line 54 of file edoSampler.h.