Package jason.stdlib

Class all_names

java.lang.Object
All Implemented Interfaces:
InternalAction, java.io.Serializable

@Manual(literal=".all_names(result)",
        hint="get the names of all agents in the system",
        argsHint="the resulting unification with all agent\'s names",
        argsType="list",
        examples=".all_names(L): unifies with L a list of all agents in the system",
        seeAlso={"jason.stdlib.broadcast","jason.stdlib.send","jason.stdlib.all_names","jason.runtime.RuntimeServices"})
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 (local, saci, jade, ...)

Parameters:

  • +/- names (list): this argument unifies with a list of all agents in the system.

Examples:

  • .all_names(L): unifies with L a list of all agents in the system.
See Also:
my_name, RuntimeServices, Serialized Form
  • Constructor Details

    • all_names

      public all_names()
  • Method Details