[This is preliminary documentation and is subject to change.]
Updates the match statistics for the reinforcement-trainable implicit component
Namespace: Clarion.Framework.TemplatesAssembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)
Syntax
C# |
---|
public virtual void UpdateMatchStatistics( double feedback, SensoryInformation currentInput, Guid chosenOutputChunkID, double increment ) |
Parameters
- feedback
- Type: System..::..Double
The feedback that was received given the current input and the chosen output chunk
- currentInput
- Type: Clarion.Framework..::..SensoryInformation
The current sensory input
- chosenOutputChunkID
- Type: System..::..Guid
The world ID of the chosen output chunk
- increment
- Type: System..::..Double
(optional) The amount in which the match statistics are to be updated
Implements
ITracksMatchStatistics..::..UpdateMatchStatistics(Double, SensoryInformation, Guid, Double)
Remarks
Users can specify their own, customized, method for updating the match statistics by either of the following methods:
- By overriding the method in a subclass. This is the better option when implementing a new, fully-defined, custom reinforcement-trainable implicit component
- By specifying a PositiveMatchDeterminer delegate during the initialization of a reinforcement-trainable implicit component. This option should be used when a user wishes to alter the positive match determining method of an already existing reinforcement-trainable implicit component
![]() |
---|
The positive match determiner delegate MUST return True if the positive match statistic should be updated or False if the negative match statistic should be updated. In addition, the positive match determiner may also specify the amount in which the match statistic should be incremented. |