File rule_compare_function.hpp

namespace seco

Functions

static inline constexpr bool compareSeCoRuleQuality(const Quality &first, const Quality &second)

Returns whether the quality of a SeCo rule is better than the quality of a second one.

Parameters:
  • first – An object of type Quality that represents the quality of the first rule

  • second – An object of type Quality that represents the quality of the second rule

Returns:

True, if the quality of the first rule is better than the quality of the second one, false otherwise

Variables

static const RuleCompareFunction SECO_RULE_COMPARE_FUNCTION = RuleCompareFunction(compareSeCoRuleQuality, 0.0)

An object of type RuleCompareFunction that defines the function that should be used for comparing the quality of SeCo rules.