public class all_names extends DefaultInternalAction
Internal action: .all_names
.
Description: get the names of all agents in the system. This identification is given by the runtime infrastructure of the system (centralised, saci, jade, ...)
Parameters:
Examples:
.all_names(L)
: unifies with L a list of all agents in the system.my_name
,
RuntimeServicesInfraTier
,
Serialized FormConstructor and Description |
---|
all_names() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(TransitionSystem ts,
Unifier un,
Term[] args)
Executes the internal action.
|
int |
getMaxArgs() |
int |
getMinArgs() |
canBeUsedInContext, checkArguments, destroy, prepareArguments, suspendIntention
public int getMinArgs()
getMinArgs
in class DefaultInternalAction
public int getMaxArgs()
getMaxArgs
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