[This is preliminary documentation and is subject to change.]

Performs rule generalization given the specified information

Namespace: Clarion.Framework.Templates
Assembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)

Syntax

C#
public delegate T RuleGeneralizer<T>(
	T target,
	Rule matchAll,
	T maxVariation,
	double threshold1,
	double threshold2
)
where T : Rule, IRefineable<T>

Parameters

target
Type: T
The target rule being considered for generalization
matchAll
Type: Clarion.Framework.Core..::..Rule
The match-all rule to compare to the target
maxVariation
Type: T
The maximally positive, "more general" rule variation (to be compared to the target)
threshold1
Type: System..::..Double
The generalization threshold 1
threshold2
Type: System..::..Double
The generalization threshold 2

Type Parameters

T
Specifies the type of rule being generalized

Return Value

The target if the rule should not be generalized, or the max variation if it should

See Also