invoke
operator fun invoke(name: String, description: String = name, actions: List<Action> = emptyList(), goals: Set<Goal> = emptySet(), referenceTypes: Collection<DomainType> = emptyList(), conditions: Set<Condition> = emptySet(), opaque: Boolean = false, stuckHandler: StuckHandler? = null): AgentScope
Create an AgentScope with the given parameters. The resulting scope will have no parent scopes.
Parameters
name
name of the scope
description
description of the scope
actions
actions available to agents created from this scope
goals
goals that agents created from this scope will try to achieve
conditions
conditions that agents created from this scope can check
reference Types
additional types that will be brought in. Necessary if only dynamic types are used in the actions and conditions, or if you want to include types from a shared library without including all of their actions and conditions.