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

Performs rule specialization given the specified information

Namespace: Clarion.Framework.Templates
Assembly: CLARIONLibrary (in CLARIONLibrary.dll) Version: 6.1.0.7 (6.1.0.7)

Syntax

C#
public delegate T RuleSpecializer<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 specialization
matchAll
Type: Clarion.Framework.Core..::..Rule
The match-all rule to compare to the target
maxVariation
Type: T
The maximally positive, "more specialized" rule variation (to be compared to the target)
threshold1
Type: System..::..Double
The specialization threshold 1
threshold2
Type: System..::..Double
The specialization threshold 2

Type Parameters

T
Specifies the type of rule being specialized

Return Value

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

See Also