#include <floats.h>
Public Member Functions | |
Floats (Value min_value=0., Value max_value=1.) | |
Value | operator() () const override |
Public Member Functions inherited from cauldron::CloneHelper< Value, Floats< Value > > | |
std::unique_ptr< Strategy < Value > > | clone () const override |
Public Member Functions inherited from cauldron::Strategy< Value > | |
virtual Union< Value > | operator|| (const Strategy< Value > &strategy) const |
virtual Union< Value > | operator|| (const Union< Value > &strategy) const |
virtual Filtered< Value > | filter (const Requirement< Value > &requirement) const |
virtual Mapped< Value > | map (const Converter< Value > &converter) const |
Strategy which generates pseudo-random floating point values.
Value | type of values generated by strategy. |
|
inlineexplicit |
min_value | minimum possible floating point value. |
max_value | maximum possible floating point value. |
|
inlineoverridevirtual |
Generates pseudo-random floating point value.
Implements cauldron::Strategy< Value >.