public class stopMAS extends DefaultInternalAction
Internal action: .stopMAS
.
Description: aborts the execution of all agents in the multi-agent system (and any simulated environment too).
Example:
.stopMAS
.create_agent
,
kill_agent
,
RuntimeServicesInfraTier
,
Serialized FormConstructor and Description |
---|
stopMAS() |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeUsedInContext()
Return true if the internal action can be used in plans' context
|
java.lang.Object |
execute(TransitionSystem ts,
Unifier un,
Term[] args)
Executes the internal action.
|
int |
getMaxArgs() |
int |
getMinArgs() |
checkArguments, destroy, prepareArguments, suspendIntention
public int getMinArgs()
getMinArgs
in class DefaultInternalAction
public int getMaxArgs()
getMaxArgs
in class DefaultInternalAction
public boolean canBeUsedInContext()
InternalAction
canBeUsedInContext
in interface InternalAction
canBeUsedInContext
in class DefaultInternalAction
public java.lang.Object execute(TransitionSystem ts, Unifier un, Term[] args) throws java.lang.Exception
InternalAction
execute
in interface InternalAction
execute
in class DefaultInternalAction
java.lang.Exception