Collapse All Expand All

C#

Clarion Library 6.1.1
UtilityCalculator Delegate
See Also Send Feedback

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

# 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

Clarion.Framework.Templates Namespace