[This is preliminary documentation and is subject to change.]
Initializes a new agent. Also, if the optional name is specified (and is not null), then this method also
generates a SemanticLabel object for the specified name (if one does not already exist for it) and adds it to the declarative
chunk representation of the agent.
Namespace: ClarionAssembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)
Syntax
C# |
---|
public static Agent NewAgent( IComparable name, Agent..::..AgentParameters agent_pars, ActionCenteredSubsystem..::..ActionCenteredSubsystemParameters acs_pars, NonActionCenteredSubsystem..::..NonActionCenteredSubsystemParameters nacs_pars, MotivationalSubsystem..::..MotivationalSubsystemParameters ms_pars, bool addSemanticLabel ) |
Parameters
- name
- Type: System..::..IComparable
(optional) The name for the agent being generated. If this parameter is left unspecified, the agent's name will be set to an empty string (i.e., "")
- agent_pars
- Type: Clarion.Framework..::..Agent..::..AgentParameters
(optional) A parameters class instance that can be used to initialize the agent
- acs_pars
- Type: Clarion.Framework..::..ActionCenteredSubsystem..::..ActionCenteredSubsystemParameters
(optional) A parameters class instance that can be used to initialize the ACS of the agent
- nacs_pars
- Type: Clarion.Framework..::..NonActionCenteredSubsystem..::..NonActionCenteredSubsystemParameters
(optional) A parameters class instance that can be used to initialize the NACS of the agent
- ms_pars
- Type: Clarion.Framework..::..MotivationalSubsystem..::..MotivationalSubsystemParameters
(optional) A parameters class instance that can be used to initialize the MS of the agent
- addSemanticLabel
- Type: System..::..Boolean
(optional) Specifies whether the SemanticLabel should be added to the dimension-value pairs collection of the chunk.Note
The semantic label is still generated regardless of whether it is added to the chunk.