58 for (
Idx i = 0; i < db_conditioning_ids.size(); ++i) {
double _confidence_proba_
The confidence probability used for critical values.
Size _conditioning_size_
The domain size of the conditioning nodes.
double criticalValue(const std::pair< Idx, Idx > &pair)
Computes the critical value according to the number of degrees of freedom.
HashTable< Idx, double > _critical_values_
A set of already computed critical values.
void setConfidenceProba(double new_proba)
Modifies the confidence probability.
const std::vector< std::size_t > & _modalities_
The modalities of the random variables.
void setConditioningNodes(const std::vector< Idx > &db_conditioning_ids)
Sets the conditioning nodes (useful for computing degrees of freedom).
Size degreesOfFreedom(const std::pair< Idx, Idx > &pair)
Returns the number of degrees of freedom.
static double _criticalValue_(double proba, Size df)
Computes the critical value of a given chi2 test (used by the cache).
Base class for all aGrUM's exceptions.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Size Idx
Type for indexes.
gum is the global namespace for all aGrUM entities