File condition.hpp¶
Typedefs
Enums
-
struct Condition : public Interval¶
- #include <condition.hpp>
Stores the properties of a condition of a rule. It consists of the index of the feature, the condition corresponds to, the type of the operator that is used by the condition, as well as a threshold. In addition, it stores the range [start, end) that corresponds to the elements, e.g. examples or bins, that are covered (or uncovered, if
covered == false
) by the condition, as well as the sum of the weights of all covered elements.Subclassed by Refinement
Public Functions
-
inline Condition()¶
-
inline Condition(const Condition &other)¶
- Parameters:
other – A reference to an existing condition to be copied
-
inline virtual ~Condition() override¶
Public Members
-
Comparator comparator¶
The type of the operator that is used by the condition.
-
inline Condition()¶