File rule_pruning_irep.hpp

class IrepConfig : public IRulePruningConfig
#include <rule_pruning_irep.hpp>

Allows to configure a strategy for pruning individual rules that prunes rules by following the principles of “incremental reduced error pruning” (IREP).

Public Functions

IrepConfig(RuleCompareFunction ruleCompareFunction)
Parameters:

ruleCompareFunction – An object of type RuleCompareFunction that defines the function that should be used for comparing the quality of different rules

virtual std::unique_ptr<IRulePruningFactory> createRulePruningFactory() const override

Creates and returns a new object of type IRulePruningFactory according to the specified configuration.

Returns:

An unique pointer to an object of type IRulePruningFactory that has been created

Private Members

const RuleCompareFunction ruleCompareFunction_