Collapse All Expand All

C#

Clarion Library 6.1.1
Agent..::..GetChosenExternalAction Method (Int64, Dictionary<(Of <(<'ActionChunk, Double>)>)>%)
Agent Class Example See Also Send Feedback

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

Gets the external action that was chosen based on the time stamp for the related sensory information

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

# Syntax

C#
    public ExternalActionChunk GetChosenExternalAction(
    	long siTimeStamp,
    	out Dictionary<ActionChunk, double> finalActionActivations
    )

#### Parameters

siTimeStamp
  Type: System..::..Int64
  The time stamp associated with 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

Note
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

# See Also

Agent Class
GetChosenExternalAction Overload
Clarion.Framework Namespace