Collapse All Expand All

C#

Clarion Library 6.1.1
Agent..::..GetChosenExternalAction Method (SensoryInformation)
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 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(
    	SensoryInformation relatedSI
    )

#### Parameters

relatedSI
  Type: Clarion.Framework..::..SensoryInformation
  The sensory information that was perceived (and which leads to an external action being chosen)

#### 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