#include <probabilities.hpp>
Public Types | |
| typedef Value | value_type |
Static Public Member Functions | |
| template<typename Domain> | |
| static void | is_valid (value_type v, Domain) |
This class models the ValidatorConcept and ensures that values are within the range, which is
and
for likelihoods and probabilities respectively. Because the range_validator introduces additional checks and incurs a performance penalty, it is not the default validator. However, it is provided for situations in which performance is less critical than a guarrantee that values lie strictly within the appropriate range.
1.4.5