Collapse All Expand All

C#

Clarion Library 6.1.1
ReinforcementTrainableImplicitComponent..::..CheckExtraction Method
ReinforcementTrainableImplicitComponent Class See Also Send Feedback

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

Indicates whether or not a rule should be extracted from the reinforcement-trainable implicit component

Namespace: Clarion.Framework.Templates
Assembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)

# Syntax

C#
    public virtual bool CheckExtraction()

#### Return Value

True if a rule should be extracted, otherwise False

#### Implements

IExtractsRules..::..CheckExtraction()()()()

# Remarks

This method is called internally by the system before attempting to extract a rule.

Users can specify their own, customized, method for extraction checking by either of the following methods:

1. By overriding the method in a subclass. This is the better option when implementing a new, fully-defined, custom reinforcement-trainable implicit component
2. By specifying an ExtractionChecker delegate during the initialization of a reinforcement-trainable implicit component. This option should be used when a user wishes to alter the extraction checking method of an already existing reinforcement-trainable implicit component

If a user defined ExtractionChecker delegate is specified, this method will use that delegate to determine if a rule should be extracted.

Note
The extraction checking delegate MUST return True if a rule should be extracted or False if a rule should not be extracted

# See Also

ReinforcementTrainableImplicitComponent Class
Clarion.Framework.Templates Namespace