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

Calculates the utility for a rule

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

Syntax

C#
public delegate double UtilityCalculator(
	double rt,
	double averageRT,
	Rule target
)

Parameters

rt
Type: System..::..Double
The response time for the rule (can be used to calculate the cost)
averageRT
Type: System..::..Double
The average response time for the rule (can be used to calculate the cost)
target
Type: Clarion.Framework.Core..::..Rule
(optional) The rule whose utility is to be calculated

Return Value

The utility of the rule

See Also