[This is preliminary documentation and is subject to change.]
The Rule type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
Rule |
The base constructor for rules
|
Methods
Name | Description | |
---|---|---|
![]() |
CalculateInformationGain(Rule) |
Calculates the information gain using the match statistics of the specified rule.
|
![]() |
CalculateInformationGain(Rule, Rule) |
Calculates the information gain using the match statistics of two specified rules.
|
![]() |
CalculateSupport |
Calculates the rule support given the current input
|
![]() |
Commit |
Commits the rule
(Overrides ClarionComponent..::..Commit()()()().) |
![]() |
Covers |
Checks to see if the condition of the specified rule is covered by this rule and
that the two rules have the same output chunk
|
![]() |
Equals(Object) |
Determines whether the specified object is a Rule and if it is equal to this rule
(Overrides Object..::..Equals(Object).) |
![]() |
Equals(Rule) |
Determines whether the specified rule is equal to this rule
|
![]() |
GetHashCode |
Gets the hash code for this rule
(Overrides Object..::..GetHashCode()()()().) |
![]() |
IsEligible |
Indicates whether or not the rule is eligible to be used
(Overrides ClarionComponent..::..IsEligible(ActivationCollection).) |
![]() |
ResetStatistics |
Resets the match statistics
|
![]() |
Retract |
Retracts the rule
(Overrides ClarionComponent..::..Retract()()()().) |
![]() |
UpdateMatchStatistics |
Updates the match statistics for the rule
|
Properties
Name | Description | |
---|---|---|
![]() |
CommitLock |
Gets the thread locker that should be used during committing process of a component
(Inherited from ClarionComponent.) |
![]() |
EligibilityCheckerDelegate |
Gets the eligibility checker delegate (if one was specified during initialization, otherwise this will return null)
(Inherited from ClarionComponent.) |
![]() |
FactoryParameters |
Gets or sets the parameters that were used by the factory in order to generate the component
(Inherited from ClarionComponent.) |
![]() |
GeneralizedCondition |
Gets the generalized condition of the rule
|
![]() ![]() |
GlobalParameters |
Gets the global parameters for the Rule class
|
![]() |
InitializeOnCommit |
Specifies whether initialization operations should be performed when the component in committed
(Inherited from ClarionComponent.) |
![]() |
IsReadOnly |
Specifies whether the component is in a read-only (i.e., immutable) state
(Inherited from ClarionComponent.) |
![]() |
LastEligibleTimeStamp |
Gets or sets the time stamp for the last time the component was eligible
(Inherited from ClarionComponent.) |
![]() |
MatchMethod |
Gets the positive match determiner delegate (if one was specified during initialization, otherwise this will return null)
|
![]() |
NegativeMatch |
Gets or sets the negative match statistic
|
![]() |
OutputChunk |
Gets the output chunk for the rule
|
![]() |
Parameters |
Gets the local parameters for this rule
|
![]() |
PositiveMatch |
Gets or sets the positive match statistic
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
ISubscribes<(Of <<'(ParameterChangeRequestedEventArgs>)>>)..::..OnEventHandlerDelegate | (Inherited from ClarionComponent.) |
![]() ![]() |
ISubscribes..::..PublicationTimingsSpecifiedEventHandlerDelegate | (Inherited from ClarionComponent.) |
![]() ![]() |
ISubscribes..::..PublisherAvailableEventHandlerDelegate | (Inherited from ClarionComponent.) |
![]() ![]() |
ISubscribes..::..PublisherRemovedEventHandlerDelegate | (Inherited from ClarionComponent.) |