50#ifndef GUM_MULTI_DIM_FUNCTION_GRAPH_INTERFACE_TEST_POLICY_H
51#define GUM_MULTI_DIM_FUNCTION_GRAPH_INTERFACE_TEST_POLICY_H
70 template <
typename GUM_ELEMENT >
91 void*
operator new(
size_t s);
93 void operator delete(
void* p);
ITestPolicy()
Allocators and Deallocators redefinition.
bool _isModified_
Booleans indicating if we have to re eval test.
virtual void addObservation(Idx attr, GUM_ELEMENT value)
Comptabilizes the new observation.
virtual void computeScore() const
Recomputes the statistic from the beginning.
virtual double score() const =0
Returns the performance of current variable according to the test.
virtual bool isTestRelevant() const =0
Returns true if enough observation were added so that the test can be relevant.
void add(const ITestPolicy< GUM_ELEMENT > &src)
virtual double secondaryscore() const =0
Returns a second criterion to severe ties.
Idx nbObservation() const
Comptabilizes the new observation.
virtual ~ITestPolicy()
Allocators and Deallocators redefinition.
std::string toString() const
Size Idx
Type for indexes.
gum is the global namespace for all aGrUM entities
Base node set class for graphs.
Headers of gum::SmallObjectAllocator.