[This is preliminary documentation and is subject to change.]
Gets the external action that was chosen based on the related sensory information
Namespace: Clarion.FrameworkAssembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)
Syntax
C# |
---|
public ExternalActionChunk GetChosenExternalAction( SensoryInformation relatedSI, out Dictionary<ActionChunk, double> finalActionActivations ) |
Parameters
- relatedSI
- Type: Clarion.Framework..::..SensoryInformation
The sensory information that was perceived (and which leads to an external action being chosen)
- finalActionActivations
- Type: System.Collections.Generic..::..Dictionary<(Of <(<'ActionChunk, Double>)>)>%
(Optional) Returns the final selection activations for all of the actions that were considered during the given time stamp
Return Value
The external action that was chosen based on the related sensory information
Remarks
![]() |
---|
If the agent chooses an action type other than ExternalActionChunk, then this method will return the special (reserved) DO_NOTHING action |
Examples
See the "examples" section for the Agent class