Collapse All Expand All

C#

Clarion Library 6.1.1
RuleSpecializer<(Of <(<'T>)>)> Delegate
See Also Send Feedback

[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.1.0 (6.1.1.0)

# 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

Clarion.Framework.Templates Namespace