Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABOUT - Enum constant in enum class madkit.i18n.Words
- AbstractAgent - Class in madkit.kernel
-
The super class of all MaDKit agents, v 5.
- AbstractAgent() - Constructor for class madkit.kernel.AbstractAgent
- AbstractAgent.ReturnCode - Enum Class in madkit.kernel
-
This class enumerates all the return codes which could be obtained with essential methods of the
AbstractAgent
andAgent
classes. - AbstractAgent.State - Enum Class in madkit.kernel
-
An agent state.
- AbstractModel - Class in madkit.simulation.model
-
Prototype class that will be used to encapsulate simulation models in a near future.
- AbstractModel() - Constructor for class madkit.simulation.model.AbstractModel
- accept(String) - Method in interface madkit.gui.menu.AgentClassFilter
-
Test if a class should be used in a
LaunchAgentsMenu
- accept(Message) - Method in class madkit.message.ConversationFilter
- accept(Message) - Method in interface madkit.message.MessageFilter
-
Tests if a specified message matches the requirement.
- accept(Message) - Method in class madkit.message.SenderRoleFilter
- ACCEPT_PROPOSAL - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- ACCEPT_PROPOSAL_STRING - Static variable in class madkit.message.ACLMessage
- ACCESS_DENIED - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned when requesting a role in a secured group fails
- ACLMessage - Class in madkit.message
-
This class describes an ACL message.
- ACLMessage() - Constructor for class madkit.message.ACLMessage
-
Default constructor for ACLMessage class
- ACLMessage(int, String) - Constructor for class madkit.message.ACLMessage
- ACLMessage(String) - Constructor for class madkit.message.ACLMessage
-
Constructor for ACLMessage class
- ACLMessage(String, String) - Constructor for class madkit.message.ACLMessage
-
Constructor for ACLMessage class
- action - Variable in class madkit.message.ActMessage
- ActionInfo - Class in madkit.action
-
This class encapsulates action information which could be used to easily create a new
MDKAbstractAction
. - ActionInfo(E, int, ResourceBundle) - Constructor for class madkit.action.ActionInfo
-
Builds a new ActionInfo considering an
Enum
. - ActionInfo(String, int, ResourceBundle) - Constructor for class madkit.action.ActionInfo
-
Builds a new ActionInfo considering a codeName as a string.
- actionPerformed(ActionEvent) - Method in class madkit.action.BooleanAction
- activate() - Method in class madkit.kernel.AbstractAgent
-
This method corresponds to the first behavior which is called by the MaDKit kernel when an agent is launched.
- activate() - Method in class madkit.kernel.Watcher
- ACTIVATED - Enum constant in enum class madkit.kernel.AbstractAgent.State
-
The agent is processing its
AbstractAgent.activate()
method. - Activator<A extends AbstractAgent> - Class in madkit.kernel
-
This class defines a tool for scheduling mechanism.
- Activator(String, String, String) - Constructor for class madkit.kernel.Activator
-
Builds a new Activator on the given CGR location of the artificial society with multicore mode set to
false
. - ActMessage - Class in madkit.message
-
This class describes a generic speech act message.
- ActMessage(String) - Constructor for class madkit.message.ActMessage
-
Constructor for GenericMessage class
- ActMessage(String, Object) - Constructor for class madkit.message.ActMessage
- ActMessage(String, String) - Constructor for class madkit.message.ActMessage
- ActMessage(String, String, Object) - Constructor for class madkit.message.ActMessage
- addActivator(Activator<? extends AbstractAgent>) - Method in class madkit.kernel.Scheduler
-
Adds an activator to the simulation engine.
- addActivator(Activator<? extends AbstractAgent>) - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
- addBooleanActionTo(Container, BooleanAction) - Static method in class madkit.gui.SwingUtil
-
Creates a
JCheckBoxMenuItem
for a menu orJToggleButton
for a tool bar - addFileHandler(Path, String, boolean, boolean) - Method in class madkit.kernel.AgentLogger
-
Adds a new
FileHandler
to this logger. - addHandler(Handler) - Method in class madkit.kernel.AgentLogger
- adding(A) - Method in class madkit.kernel.Activator
- adding(A) - Method in class madkit.kernel.Probe
-
This method is automatically called when an agent joins the corresponding group and role.
- adding(A) - Method in class madkit.simulation.activator.DiscreteEventAgentsActivator
- adding(A) - Method in class madkit.simulation.probe.SingleAgentProbe
- adding(List<A>) - Method in class madkit.kernel.Probe
-
Called when a list of agents joins the corresponding group and role.
- addMaDKitActionsTo(Container, AbstractAgent) - Static method in class madkit.gui.SwingUtil
-
Adds to a menu or toolbar the following actions:
KernelAction.EXIT
KernelAction.COPY
KernelAction.RESTART
KernelAction.LAUNCH_NETWORK
KernelAction.STOP_NETWORK
GUIManagerAction.CONNECT_TO_IP
GlobalAction.JCONSOLE
KernelAction.CONSOLE
GlobalAction.DEBUG
GlobalAction.LOAD_LOCAL_DEMOS
GlobalAction.LOAD_JAR_FILE
GUIManagerAction.ICONIFY_ALL
GUIManagerAction.DEICONIFY_ALL
GUIManagerAction.KILL_AGENTS
- addOneTimeUnit() - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Adds one time unit to the simulation current time
- addProbe(Probe<? extends AbstractAgent>) - Method in class madkit.kernel.Watcher
-
Adds the probe to the artificial organization so that it starts to probe the agents which are at the corresponding CGR location.
- addReceiver(AgentAddress) - Method in class madkit.message.ACLMessage
-
Adds a value to
:receiver
slot. - addReplyTo(AgentAddress) - Method in class madkit.message.ACLMessage
-
Adds a value to
:reply-to
slot. - Agent - Class in madkit.kernel
-
The super class of all MaDKit threaded agents, v 5.
- Agent() - Constructor for class madkit.kernel.Agent
- Agent(boolean) - Constructor for class madkit.kernel.Agent
- AGENT - Static variable in class madkit.util.XMLUtilities
-
The name of a node containing a launch configuration: "Agent"
- AGENT_CRASH - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned by launch primitives when the launched agent crashes in activate
- AGENT_FILE_FORMATTER - Static variable in class madkit.kernel.AgentLogger
-
Defines the default file formatter as : LOG_LEVEL : message
- AGENT_FORMATTER - Static variable in class madkit.kernel.AgentLogger
-
Defines the default formatter as : [agent's name] LOG_LEVEL : message
- AGENT_STARTED - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
- AGENT_TERMINATED - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
- AgentAction - Enum Class in madkit.action
-
Enum representing agent actions
- AgentAddress - Class in madkit.kernel
-
Identifies an agent within the artificial society.
- AgentClassFilter - Interface in madkit.gui.menu
-
Filter to be used with
LaunchAgentsMenu
It tests if a class should be used - AgentFrame - Class in madkit.gui
-
The default frame which is used for the agents in the GUI engine of MaDKit.
- AgentFrame(AbstractAgent) - Constructor for class madkit.gui.AgentFrame
-
TThis constructor is protected because this class should not be directly instantiated as it is used by the MaDKit GUI manager.
- agentFrameClass - Enum constant in enum class madkit.kernel.Madkit.Option
-
the agent frame class which should be used by the GUI manager, default is
AgentFrame
- AgentLifeEvent - Class in madkit.message.hook
-
A message which is sent to agents that have requested a hook on
HookMessage.AgentActionEvent.AGENT_STARTED
orHookMessage.AgentActionEvent.AGENT_TERMINATED
- AgentLifeEvent(HookMessage.AgentActionEvent, AbstractAgent) - Constructor for class madkit.message.hook.AgentLifeEvent
- AgentLogger - Class in madkit.kernel
-
This class defines a logger specialized for MaDKit agents.
- agentLogLevel - Enum constant in enum class madkit.kernel.Madkit.LevelOption
-
Option defining the default agent log level for newly launched agents.
- AgentLogLevelMenu - Class in madkit.gui.menu
-
An out of the box menu for manipulating the log level of an agent.
- AgentLogLevelMenu(AbstractAgent) - Constructor for class madkit.gui.menu.AgentLogLevelMenu
-
Builds a menu containing all the log levels which could be set on an agent.
- AgentMenu - Class in madkit.gui.menu
-
An out of the box menu called Agent for MaDKit Agent GUI.
- AgentMenu(AbstractAgent) - Constructor for class madkit.gui.menu.AgentMenu
- AgentStatusPanel - Class in madkit.gui
-
A panel that displays a flag if the MaDKit kernel is online.
- AgentStatusPanel(AbstractAgent) - Constructor for class madkit.gui.AgentStatusPanel
- AGREE - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- AGREE_STRING - Static variable in class madkit.message.ACLMessage
- allAgentsLeaveRole() - Method in class madkit.kernel.Probe
-
Makes all the agents leave the corresponding role at once.
- allowAgentToTakeRole(String, String, Object) - Method in interface madkit.kernel.Gatekeeper
- allProbes() - Method in class madkit.kernel.Watcher
- ALREADY_GROUP - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned when using
AbstractAgent.createGroup(String, String, boolean, Gatekeeper)
and that a group already exists - ALREADY_KILLED - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned by kill primitives when the targeted agent is already terminated
- ALREADY_LAUNCHED - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned when launching an agent which is already launched
- ATTRIBUTES - Static variable in class madkit.util.XMLUtilities
-
The name of the child node of
AGENT
containing attributes that have to be set on the agent: "Attributes" - autoConnectMadkitWebsite - Enum constant in enum class madkit.kernel.Madkit.BooleanOption
-
Connect to the MaDKit repository on startup.
B
- BACKGROUND - Enum constant in enum class madkit.action.UIAction
- BooleanAction - Class in madkit.action
- BooleanAction(ActionInfo) - Constructor for class madkit.action.BooleanAction
- BooleanMessage - Class in madkit.message
-
A message class that conveys a boolean value.
- BooleanMessage(Boolean) - Constructor for class madkit.message.BooleanMessage
-
Builds a new message containing the boolean b
- BROADCAST_MESSAGE - Enum constant in enum class madkit.action.AgentAction
- BROADCAST_MESSAGE - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
- broadcastMessage(String, String, String, Message) - Method in class madkit.kernel.AbstractAgent
-
Broadcasts a message to every agent having a role in a group in a community, but not to the sender.
- broadcastMessageWithRole(String, String, String, Message, String) - Method in class madkit.kernel.AbstractAgent
-
Broadcasts a message to every agent having a role in a group in a community using a specific role for the sender.
- broadcastMessageWithRoleAndWaitForReplies(String, String, String, Message, String, Integer) - Method in class madkit.kernel.Agent
-
Broadcasts a message and wait for answers considering a timeout duration.
- BUCKET_MODE - Static variable in class madkit.util.XMLUtilities
-
Valid attribute of an agent node determining if the launch should be done using the bucket mode.
- BUCKET_MODE_ROLE - Static variable in class madkit.util.XMLUtilities
-
The name of the child node of
AGENT
containing the roles which should be set when using the bucket mode. - bucketModeCreateGroup(String, String, boolean, Gatekeeper) - Method in class madkit.kernel.AbstractAgent
-
Creates a new Group within a community even if the agent has been launched using using one of the
launchAgentBucket
methods. - bucketModeRequestRole(String, String, String, Object) - Method in class madkit.kernel.AbstractAgent
-
Requests a role even if the agent has been launched using one of the
launchAgentBucket
methods with nonull
roles. - BUILD_ID - Static variable in class madkit.kernel.Madkit
C
- C_NULL - Enum constant in enum class madkit.i18n.ErrorMessages
- CANCEL - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- CANCEL_STRING - Static variable in class madkit.message.ACLMessage
- CANT_CONNECT - Enum constant in enum class madkit.i18n.ErrorMessages
- CANT_FIND - Enum constant in enum class madkit.i18n.ErrorMessages
- CANT_LAUNCH - Enum constant in enum class madkit.i18n.ErrorMessages
- CANT_LOAD - Enum constant in enum class madkit.i18n.ErrorMessages
- CANT_REPLY - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned when an agent tries to reply to a message which has not been received from another agent, e.g. newly created or sent directly by an object using
AbstractAgent.receiveMessage(Message)
. - CFP - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- CFP_STRING - Static variable in class madkit.message.ACLMessage
- CGR_WARNINGS - Enum constant in enum class madkit.action.LoggingAction
- CGREvent - Class in madkit.message.hook
-
Root class of messages which are sent to agents that have requested hooks to the kernel
- cgrWarnings - Enum constant in enum class madkit.kernel.Madkit.BooleanOption
-
activates CGR warnings for the logging of the agents. see
AgentLogger.enableCGRWarnings()
- checkAgentAddress(AgentAddress) - Method in class madkit.kernel.AbstractAgent
-
Checks if this agent address is still valid.
- checkMail(Message) - Method in class madkit.kernel.Scheduler
-
Changes my state according to a
SchedulingMessage
and sends a reply to the sender as acknowledgment. - CLASS - Static variable in class madkit.util.XMLUtilities
-
Valid attribute of an agent node determining the agent class to launch, value is "class"
- ClassPathSensitiveMenu - Class in madkit.gui.menu
-
The super class of MaDKit menu which have to be update when the class path is changed or updated with new classes or files.
- ClassPathSensitiveMenu(String) - Constructor for class madkit.gui.menu.ClassPathSensitiveMenu
-
Builds a new menu.
- clearAllReceiver() - Method in class madkit.message.ACLMessage
-
Removes all values from
:receiver
slot. - clearAllReplyTo() - Method in class madkit.message.ACLMessage
-
Removes all values from
:reply_to
slot. - clearOutput() - Method in class madkit.gui.OutputPanel
-
Remove all the contained text.
- clone() - Method in class madkit.kernel.Message
-
Returns a shadow copy of the message.
- COMMUNITY - Enum constant in enum class madkit.i18n.Words
- compareTo(MASModel) - Method in class madkit.gui.MASModel
- compareTo(AbstractAgent) - Method in class madkit.kernel.AbstractAgent
-
Compares this agent with the specified agent for order with respect to instantiation time.
- compareTo(DateBasedDiscreteEventActivator<A>) - Method in class madkit.simulation.activator.DateBasedDiscreteEventActivator
-
Defines an ordering so that the scheduler can classify activators according to their date and priority.
- compareTo(DiscreteEventAgentsActivator<A>) - Method in class madkit.simulation.activator.DiscreteEventAgentsActivator
- configFile - Enum constant in enum class madkit.kernel.Madkit.Option
-
Can be used to specify multiple properties at once, using a regular properties file
- CONFIRM - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- CONFIRM_STRING - Static variable in class madkit.message.ACLMessage
- CONNECT_TO_IP - Enum constant in enum class madkit.action.GUIManagerAction
-
For connecting kernels in a wide area network
- CONNECT_TO_IP - Enum constant in enum class madkit.action.KernelAction
-
For connecting kernels in a wide area network.
- CONNECT_WEB_REPO - Enum constant in enum class madkit.action.KernelAction
-
Connection to the MaDKit web repository
- console - Enum constant in enum class madkit.kernel.Madkit.BooleanOption
-
Launches the
ConsoleAgent
before any other. - CONSOLE - Enum constant in enum class madkit.action.KernelAction
-
Makes a redirection of the out and err to a MaDKit agent.
- ConsoleAgent - Class in madkit.gui
-
This agent displays standard out and err prints in its GUI.
- ConsoleAgent() - Constructor for class madkit.gui.ConsoleAgent
- ConversationFilter - Class in madkit.message
-
A filter that selects messages based on their conversation ID.
- ConversationFilter(Message) - Constructor for class madkit.message.ConversationFilter
-
a new filter that acts according to the conversationID of a message.
- ConversationID - Class in madkit.kernel
-
This class represents the conversation ID to which a message belongs.
- COPY - Enum constant in enum class madkit.action.KernelAction
-
Clone the kernel with its initial options
- CREATE_GROUP - Enum constant in enum class madkit.action.AgentAction
- CREATE_GROUP - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
- createAgentFrame(AbstractAgent) - Static method in class madkit.gui.AgentFrame
-
Override to customize the agent frame that should be created by the GUI engine.
- CREATED - Enum constant in enum class madkit.i18n.Words
- createGroup(String, String) - Method in class madkit.kernel.AbstractAgent
-
Creates a new Group within a community.
- createGroup(String, String, boolean) - Method in class madkit.kernel.AbstractAgent
-
Creates a new Group within a community.
- createGroup(String, String, boolean, Gatekeeper) - Method in class madkit.kernel.AbstractAgent
-
Creates a new Group within a community.
- createGroupIfAbsent(String, String) - Method in class madkit.kernel.AbstractAgent
-
Creates a new Group within a community but does not produce any warning if the group already exists.
- createGroupIfAbsent(String, String, boolean) - Method in class madkit.kernel.AbstractAgent
-
Creates a new Group within a community but does not produce any warning if the group already exists.
- createGroupIfAbsent(String, String, boolean, Gatekeeper) - Method in class madkit.kernel.AbstractAgent
-
Creates a new Group within a community but does not produce any warning if the group already exists.
- createGUIOnStartUp() - Method in class madkit.kernel.AbstractAgent
-
Activates the MaDKit GUI initialization when launching the agent whatever the launching parameters.
- createJSlider(BoundedRangeModel) - Static method in class madkit.gui.SwingUtil
-
Creates a JSlider built using a
DefaultBoundedRangeModel
and containing aMouseWheelListener
and some usual default settings - createJToolBar() - Method in class madkit.gui.AgentFrame
-
Builds the tool bar that will be used.
- createLogFile() - Method in class madkit.kernel.AgentLogger
-
Creates a default log file for this logger.
- createLogFiles - Enum constant in enum class madkit.kernel.Madkit.BooleanOption
-
If activated, MaDKit will create a log file for every agent which has a log level greater than
Level.OFF
. - createLogFiles() - Static method in class madkit.kernel.AgentLogger
-
Create a log file for each agent having a non
null
logger. - createMenuBar() - Method in class madkit.gui.AgentFrame
-
Builds the menu bar that will be used for this frame.
- createReply() - Method in class madkit.message.ACLMessage
-
create a new ACLMessage that is a reply to this message.
- createSliderPanel(BoundedRangeModel, String) - Static method in class madkit.gui.SwingUtil
-
Creates a labeled panel containing a slider built using an existing
DefaultBoundedRangeModel
- createSliderPanel(JSlider, String) - Static method in class madkit.gui.SwingUtil
-
Creates a labeled panel containing a slider with default size.
- createSliderPanel(JSlider, String, int) - Static method in class madkit.gui.SwingUtil
-
Creates a labeled panel containing a slider and considering a particular width
D
- DATE_BASED_MODE_REQUIRED - Static variable in interface madkit.kernel.Scheduler.SimulationTime
- DateBasedDiscreteEventActivator<A extends AbstractAgent> - Class in madkit.simulation.activator
-
A behavior activator that is designed to work with a
DateBasedDiscreteEventScheduler
, that is following a discrete-event simulation scheme. - DateBasedDiscreteEventActivator(String, String, String, String) - Constructor for class madkit.simulation.activator.DateBasedDiscreteEventActivator
- DateBasedDiscreteEventScheduler - Class in madkit.simulation.scheduler
- DateBasedDiscreteEventScheduler() - Constructor for class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
- DateBasedDiscreteEventScheduler(LocalDateTime) - Constructor for class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
- debug - Enum constant in enum class madkit.kernel.Madkit.BooleanOption
-
Activates the debug mode so that all agents' log levels are set to
Level.ALL
- DEBUG - Static variable in class madkit.action.GlobalAction
-
An action that enable or disable the debugging mode.
- DefaultMaDKitRoles - Class in madkit.agr
-
Defines default roles used by the MaDKit kernel or regular agents to achieve specific CGR queries.
- DEICONIFY_ALL - Enum constant in enum class madkit.action.GUIManagerAction
-
Deiconify all the agent frames
- desktop - Enum constant in enum class madkit.kernel.Madkit.BooleanOption
-
Starts the desktop mode.
- desktopFrameClass - Enum constant in enum class madkit.kernel.Madkit.Option
-
the desktop frame class which should be used, default is
MDKDesktopFrame
- destroyCommunity(String) - Method in class madkit.kernel.AbstractAgent
-
Wipes out an entire community at once.
- destroyGroup(String, String) - Method in class madkit.kernel.AbstractAgent
-
Wipes out an entire group at once.
- destroyRole(String, String, String) - Method in class madkit.kernel.AbstractAgent
-
Wipes out an entire role at once.
- DIRECTORY - Enum constant in enum class madkit.i18n.Words
- disableCGRWarnings() - Method in class madkit.kernel.AgentLogger
-
Disables the logging of
Level.WARNING
messages related with failed queries over the artificial society. - DISCONFIRM - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- DISCONFIRM_STRING - Static variable in class madkit.message.ACLMessage
- DiscreteEventAgentsActivator<A extends AbstractAgent> - Class in madkit.simulation.activator
-
An activator that works using a discrete-event simulation scheme.
- DiscreteEventAgentsActivator(String, String, String, String) - Constructor for class madkit.simulation.activator.DiscreteEventAgentsActivator
- DISPLAY - Enum constant in enum class madkit.i18n.Words
- DisplayMenu - Class in madkit.gui.menu
-
Class for building the display menu of MDK frames.
- DisplayMenu(JFrame) - Constructor for class madkit.gui.menu.DisplayMenu
- dispose() - Method in class madkit.gui.AgentFrame
- DISPOSE_AGENT_GUI - Enum constant in enum class madkit.action.GUIManagerAction
-
Requests an agent frame disposal: This will kill the agent.
- doAction(KernelAction, Object...) - Method in class madkit.kernel.Madkit
-
Makes the kernel do the corresponding action.
- docContent - Variable in class madkit.message.XMLMessage
-
The xml content as a Document (null if the content is defined as a string)
- doNotReactToDebugMode() - Method in class madkit.kernel.AgentLogger
-
Prevents this logger to change its level when
AgentLogger.setAllLoggersAtLevelAll()
orAgentLogger.setAllLogLevels(Level)
are used. - doSimulationStep() - Method in class madkit.kernel.Scheduler
-
Defines a default simulation loop which is automatically during the scheduler's life.
- doSimulationStep() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
E
- EMMITER - Static variable in class madkit.agr.LocalCommunity.Roles
-
The value of this constant is "emmiter".
- enableCGRWarnings() - Method in class madkit.kernel.AgentLogger
-
Enables the logging of
Level.WARNING
messages related with failed queries over the artificial society. - end() - Method in class madkit.gui.ConsoleAgent
- end() - Method in class madkit.kernel.AbstractAgent
-
This method corresponds to the last behavior which is called by the MaDKit kernel.
- end() - Method in class madkit.kernel.Scheduler
- ENDING - Enum constant in enum class madkit.kernel.AbstractAgent.State
-
The agent is processing its
AbstractAgent.end()
method. - ENTERING - Enum constant in enum class madkit.i18n.Words
- EnumMessage<E extends Enum<E>> - Class in madkit.message
-
This parameterizable class could be used to build a message tagged with an enumeration and conveying any java objects using an array of Object.
- EnumMessage(E, Object...) - Constructor for class madkit.message.EnumMessage
-
Builds a message with the specified content
- enumToMethodName(E) - Static method in class madkit.action.ActionInfo
-
Converts the name of an enum object to a Java standardized method name.
- equals(Object) - Method in class madkit.gui.MASModel
- equals(Object) - Method in class madkit.kernel.AgentAddress
-
Tells if another address is the same.
- equals(Object) - Method in class madkit.kernel.ConversationID
- equals(Object) - Method in class madkit.kernel.KernelAddress
-
Tells if another kernel address is the same.
- ErrorMessages - Enum Class in madkit.i18n
- execute(Object...) - Method in class madkit.kernel.Activator
-
Call #execute(List agentsList) on all the agents, i.e. using
Overlooker.getCurrentAgentsList()
. - execute(Object...) - Method in class madkit.simulation.activator.DiscreteEventAgentsActivator
- execute(List<A>, Object...) - Method in class madkit.kernel.Activator
-
This should define what has to be done on the agents for a simulation step.
- execute(List<A>, Object...) - Method in class madkit.simulation.activator.DateBasedDiscreteEventActivator
- execute(List<A>, Object...) - Method in class madkit.simulation.activator.GenericBehaviorActivator
-
Triggers the corresponding behavior on all the agents which are at the CGR location defined by this activator.
- executeAndLog(Activator<? extends AbstractAgent>, Object...) - Method in class madkit.kernel.Scheduler
-
Triggers the execute method of this
activator
and logs it using theLevel.FINER
logging level - executeBehaviorOf(AbstractAgent, String, Object...) - Method in class madkit.kernel.Activator
-
Executes a specific method on a targeted agent.
- executeThisAgent() - Static method in class madkit.kernel.AbstractAgent
-
This offers a convenient way to create a main method that launches the agent class under development.
- executeThisAgent(int, boolean, String...) - Static method in class madkit.kernel.AbstractAgent
-
This offers a convenient way to create main a main method that launches the agent class under development.
- executeThisAgent(String...) - Static method in class madkit.kernel.AbstractAgent
-
This offers a convenient way to create a main method that launches the agent class under development.
- EXIT - Enum constant in enum class madkit.action.KernelAction
-
Close the kernel
- EXITING - Enum constant in enum class madkit.i18n.Words
F
- FAILED - Enum constant in enum class madkit.i18n.ErrorMessages
- FAILED - Enum constant in enum class madkit.i18n.Words
- FAILURE - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- FAILURE_STRING - Static variable in class madkit.message.ACLMessage
- fields - Variable in class madkit.message.ActMessage
- findFieldOn(Class<? extends AbstractAgent>, String) - Static method in class madkit.kernel.Probe
-
Returns the agent's field named
fieldName
. - findJavaExecutable(String) - Static method in class madkit.kernel.MadkitClassLoader
-
Find a JDK/JRE program
- findMethodOn(Class<T>, String, Class<?>...) - Static method in class madkit.kernel.Activator
-
Returns the agent's method named
methodName
considering a given agentClass. - findMethodOnFromArgsSample(Class<T>, String, Object...) - Static method in class madkit.kernel.Activator
-
Returns the agent's method named
methodName
considering a given agentClass and a sample of the arguments which could be passed to it.
G
- G_NULL - Enum constant in enum class madkit.i18n.ErrorMessages
- Gatekeeper - Interface in madkit.kernel
-
This interface is implemented by objects which are used to verify if an agent is allowed to play a certain role in a group.
- GenericBehaviorActivator<A extends AbstractAgent> - Class in madkit.simulation.activator
-
An activator that invokes a single method with no parameters on a group of agents.
- GenericBehaviorActivator(String, String, String, String) - Constructor for class madkit.simulation.activator.GenericBehaviorActivator
-
Builds a new GenericBehaviorActivator on the given CGR location of the artificial society.
- get(K) - Method in class madkit.message.MapMessage
-
invoke
Map.get(Object)
on the map contained in this message - getAct() - Method in class madkit.message.ACLMessage
- getAction() - Method in class madkit.message.ActMessage
- getActionFor(JFrame) - Method in enum class madkit.action.UIAction
-
Builds an action that will operate on this frame
- getActionFor(AbstractAgent, Object...) - Method in enum class madkit.action.AgentAction
-
Builds an action that will make the agent do the corresponding behavior
- getActionFor(AbstractAgent, Object...) - Method in enum class madkit.action.GUIManagerAction
-
Returns an Action that will send to the GUI manager the corresponding request.
- getActionFor(AbstractAgent, Object...) - Method in enum class madkit.action.KernelAction
-
Builds an action that will make the kernel do the corresponding operation if possible.
- getActionFor(AbstractAgent, Object...) - Method in enum class madkit.action.LoggingAction
-
Builds an action that will make the agent do the corresponding behavior
- getActionFor(Scheduler, Object...) - Method in enum class madkit.action.SchedulingAction
-
Builds an action that will make the corresponding scheduler do the related operation if possible.
- getActionInfo() - Method in enum class madkit.action.AgentAction
- getActionInfo() - Method in enum class madkit.action.GUIManagerAction
- getActionInfo() - Method in enum class madkit.action.KernelAction
- getActionInfo() - Method in enum class madkit.action.LoggingAction
- getActionInfo() - Method in enum class madkit.action.SchedulingAction
- getActionInfo() - Method in enum class madkit.action.UIAction
- getActivationList() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
- getAgent() - Method in class madkit.gui.AgentFrame
- getAgentAddressIn(String, String, String) - Method in class madkit.kernel.AbstractAgent
-
Agent's address at this CGR location.
- getAgentNetworkID() - Method in class madkit.kernel.AgentAddress
-
Return a string representing a unique identifier of the binded agent over the network.
- getAgentsWithMain() - Static method in class madkit.kernel.MadkitClassLoader
- getAgentsWithRole(String, String, String) - Method in class madkit.kernel.AbstractAgent
-
A list containing other agents playing this role in the organization.
- getAgentsWithRole(String, String, String, boolean) - Method in class madkit.kernel.AbstractAgent
-
A list containing all the agents playing this role in the organization.
- getAgentWithRole(String, String, String) - Method in class madkit.kernel.AbstractAgent
-
Returns an
AgentAddress
corresponding to an agent having this position in the organization. - getAllAgentClasses() - Static method in class madkit.kernel.MadkitClassLoader
-
Returns the names of all the available agent classes
- getAvailableConfigurations() - Static method in class madkit.kernel.MadkitClassLoader
-
Returns all the session configurations available on the class path
- getAverageValue() - Method in class madkit.simulation.probe.PropertyProbe
-
Returns the average value for the property over all the agents.
- getBehaviorName() - Method in class madkit.simulation.activator.GenericBehaviorActivator
- getBigIcon() - Method in class madkit.action.ActionInfo
- getCGRString(String) - Static method in class madkit.i18n.I18nUtilities
- getCGRString(String, String) - Static method in class madkit.i18n.I18nUtilities
- getCGRString(String, String, String) - Static method in class madkit.i18n.I18nUtilities
- getClassPackageName(String) - Static method in class madkit.kernel.MadkitClassLoader
-
Returns the package name for this class name.
- getClassSimpleName(String) - Static method in class madkit.kernel.MadkitClassLoader
-
Returns the simple name for a full class name.
- getCode() - Method in class madkit.message.EnumMessage
- getCommunity() - Method in class madkit.kernel.AgentAddress
-
Returns the community to which this agent address is binded to.
- getCommunity() - Method in class madkit.kernel.Probe
-
Gets the community to which this activator/probe is binded to.
- getContent() - Method in class madkit.message.ActMessage
- getContent() - Method in class madkit.message.ObjectMessage
-
Gets the content of this message
- getConversationID() - Method in class madkit.kernel.Message
-
returns the conversation ID for this message.
- getConversationIDentifier() - Method in class madkit.message.ACLMessage
- getCurrentAgentsList() - Method in class madkit.kernel.Probe
-
Returns a snapshot at moment t of the agents handling the group/role couple
- getCurrentDate() - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Gets the current date
- getCurrentTick() - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Gets the current tick
- getDefaultInterval() - Method in class madkit.simulation.activator.DateBasedDiscreteEventActivator
- getDefaultInterval() - Method in class madkit.simulation.activator.DiscreteEventAgentsActivator
- getDefaultTemporalUnit() - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Gets the default temporal unit which will be used by
Scheduler.SimulationTime.addOneTimeUnit()
andScheduler.SimulationTime.incrementCurrentDate(long)
in a date-based mode - getDelay() - Method in class madkit.kernel.Scheduler
-
Returns the delay between two simulation steps
- getDescription() - Method in class madkit.gui.MASModel
- getDisplayMenu() - Method in class madkit.simulation.viewer.SwingViewer
-
Returns a menu which could be used in any viewer GUI.
- getDisplayPane() - Method in class madkit.simulation.viewer.SwingViewer
- getDistantAgentWithRole(String, String, String, KernelAddress) - Method in class madkit.kernel.AbstractAgent
-
AgentAddress
corresponding to an agent having this position in the organization on a particular kernel. - getDocument() - Method in class madkit.message.XMLMessage
-
Returns the XMLMessage content as a document.
- getDOM(String) - Static method in class madkit.util.XMLUtilities
-
return the DOM from an xml file.
- getEnableCGRWarningsAction() - Method in class madkit.kernel.AgentLogger
- getEncoding() - Method in class madkit.message.ACLMessage
- getEndTick() - Method in interface madkit.kernel.Scheduler.SimulationTime
-
returns the tick for which the simulation should end.
- getEnvelope() - Method in class madkit.message.ACLMessage
- getExistingCommunities() - Method in class madkit.kernel.AbstractAgent
-
Returns the names of the communities that exist.
- getExistingGroups(String) - Method in class madkit.kernel.AbstractAgent
-
Returns the names of the groups that exist in this community.
- getExistingRoles(String, String) - Method in class madkit.kernel.AbstractAgent
-
Returns the names of the roles that exist in this group.
- getFieldValue(String) - Method in class madkit.message.ActMessage
- getForce() - Method in class madkit.message.KQMLMessage
- getFrame() - Method in class madkit.simulation.viewer.SwingViewer
-
By default, get the default frame provided by MaDKit in
SwingViewer.setupFrame(AgentFrame)
and set usingSwingViewer.setupFrame(AgentFrame)
. - getGroup() - Method in class madkit.kernel.AgentAddress
-
Returns the group to which this agent address is binded to.
- getGroup() - Method in class madkit.kernel.Probe
-
Gets the group to which this activator/probe is binded to.
- getGVT() - Method in class madkit.kernel.Scheduler
-
Deprecated.
- getGVTLabel() - Method in class madkit.kernel.Scheduler
-
Returns a label giving the simulation time
- getHandler() - Method in class madkit.gui.OutputPanel
-
Returns the handler which has been created for the agent
- getInputStream(String) - Static method in class madkit.kernel.MadkitProperties
-
Return an
InputStream
on a file. pathname could be relative to (1) the actual MaDKit class path, which is preferable considering jar export, or (2) the user.dir, or it could be an absolute path. - getInReplyTo() - Method in class madkit.message.ACLMessage
- getInReplyTo() - Method in class madkit.message.ActMessage
- getInReplyTo() - Method in class madkit.message.KQMLMessage
- getKernelAddress() - Method in class madkit.kernel.AbstractAgent
-
The kernel's address on which this agent is running.
- getKernelAddress() - Method in class madkit.kernel.AgentAddress
- getKeyEvent() - Method in class madkit.action.ActionInfo
- getKeys() - Method in class madkit.message.ActMessage
- getLanguage() - Method in class madkit.message.ACLMessage
- getLanguage() - Method in class madkit.message.KQMLMessage
- getLastReceivedMessage() - Method in class madkit.kernel.AbstractAgent
-
Gets the last received message.
- getLastReceivedMessage(MessageFilter) - Method in class madkit.kernel.AbstractAgent
-
Gets the last received message according to a filter.
- getLastSavedBackgroundPreference() - Method in class madkit.gui.AgentFrame
- getLastSavedDimensionPreference() - Method in class madkit.gui.AgentFrame
- getLastSavedLocationPreference() - Method in class madkit.gui.AgentFrame
- getLoader() - Static method in class madkit.kernel.MadkitClassLoader
-
Returns the last class loader, thus having all the loaded jars on the classpath.
- getLogger() - Method in class madkit.kernel.AbstractAgent
-
Returns the agent's logger.
- getLongDescription() - Method in class madkit.action.ActionInfo
- getMadkitConfig() - Method in class madkit.kernel.AbstractAgent
-
Returns the Properties object of this MaDKit session.
- getMadkitProperty(E) - Method in class madkit.kernel.AbstractAgent
-
Shortcut for
getMadkitProperty(option.name())
. - getMadkitProperty(String) - Method in class madkit.kernel.AbstractAgent
-
Gets the MaDKit session property indicated by the specified key.
- getMadkitServiceExecutor() - Static method in class madkit.kernel.Activator
-
Returns the MDK ExecutorService that executes task in parallel
- getMaxValue() - Method in class madkit.simulation.probe.PropertyProbe
-
Returns the maximum for the property over all the agents.
- getMDKFiles() - Static method in class madkit.kernel.MadkitClassLoader
-
Returns the names of all the mdk properties files available
- getMenuBar(AbstractAgent) - Method in class madkit.gui.MDKDesktopFrame
-
Builds tool bar for the desktop frame.
- getMessage() - Method in class madkit.message.hook.MessageEvent
- getMessages() - Static method in enum class madkit.action.UIAction
- getMinValue() - Method in class madkit.simulation.probe.PropertyProbe
-
Returns the minimum for the property over all the agents.
- getMyGroups(String) - Method in class madkit.kernel.AbstractAgent
-
Gets the names of the groups the agent is in according to a community
- getMyRoles(String, String) - Method in class madkit.kernel.AbstractAgent
-
Gets the names of the roles that the agent has in a specific group
- getName() - Method in class madkit.action.ActionInfo
- getName() - Method in class madkit.gui.MASModel
- getName() - Method in class madkit.kernel.AbstractAgent
-
The agent's name.
- getNetworkID() - Method in class madkit.kernel.AbstractAgent
-
Return a string representing a unique identifier for the agent over the network.
- getNetworkID() - Method in class madkit.kernel.KernelAddress
- getNextActivationDate() - Method in class madkit.simulation.activator.DateBasedDiscreteEventActivator
-
Returns the next date at which this activator should be triggered.
- getNextActivationDate() - Method in class madkit.simulation.activator.DiscreteEventAgentsActivator
- getNextEventDate() - Method in class madkit.kernel.AbstractAgent
-
Method which is used by discrete-event simulation activators for doing fine-grained simulations.
- getObject() - Method in class madkit.message.ActMessage
- getOntology() - Method in class madkit.message.ACLMessage
- getOntology() - Method in class madkit.message.KQMLMessage
- getOrganizationSnapShot(boolean) - Method in class madkit.kernel.AbstractAgent
-
Returns a snapshot view of all the current organization for debugging purpose.
- getParametersView(String) - Method in class madkit.simulation.model.AbstractModel
-
Returns a panel containing sliders operating on all the
BoundedRangeModel
fields which are found in this model. - getParametersView(String, AbstractAgent) - Method in class madkit.simulation.model.AbstractModel
-
Returns a panel containing sliders operating on all the
BoundedRangeModel
fields which are found in this model. - getPerformative() - Method in class madkit.message.ACLMessage
- getPerformative() - Method in class madkit.message.KQMLMessage
- getPrintableContainer() - Method in class madkit.gui.AgentFrame
- getPrintableContainer() - Method in interface madkit.gui.PrintableFrame
- getPriority() - Method in class madkit.kernel.Activator
-
The priority of this activator when conflicting with another Activator.
- getProbedAgent() - Method in class madkit.simulation.probe.SingleAgentProbe
-
Get the current probed agent.
- getProbes() - Method in class madkit.kernel.Watcher
-
Returns the probes which have been successfully added
- getPropertyValue() - Method in class madkit.simulation.probe.SingleAgentProbe
-
Returns the current value of the agent's field
- getPropertyValue(A) - Method in class madkit.simulation.probe.PropertyProbe
-
Returns the current value of the agent's field
- getProtocol() - Method in class madkit.message.ACLMessage
- getReceiver() - Method in class madkit.kernel.Message
-
Returns the agent address corresponding to the agent that receive this message.
- getReceivers() - Method in class madkit.message.ACLMessage
-
Return the list of receivers..
- getReplyBy() - Method in class madkit.message.ACLMessage
- getReplyTo(Message) - Method in class madkit.kernel.AbstractAgent
-
Gets the next message which is a reply to the originalMessage.
- getReplyWith() - Method in class madkit.message.ACLMessage
- getReplyWith() - Method in class madkit.message.KQMLMessage
- getResourceBundle(String) - Static method in class madkit.i18n.I18nUtilities
- getRole() - Method in class madkit.kernel.AgentAddress
-
Returns the role to which this agent address is binded to.
- getRole() - Method in class madkit.kernel.Probe
-
Gets the role to which this activator/probe is binded to.
- getSchedulerMenu() - Method in class madkit.kernel.Scheduler
-
Returns a menu which could be used in any GUI.
- getSchedulerStatusLabel() - Method in class madkit.kernel.Scheduler
-
Returns a label giving some information on the simulation process
- getSchedulerToolBar() - Method in class madkit.kernel.Scheduler
-
Returns a toolbar which could be used in any GUI.
- getSender() - Method in class madkit.kernel.Message
-
Returns the agent address corresponding to the agent that sends this message.
- getServerInfo() - Method in class madkit.kernel.AbstractAgent
-
Returns the server's info, IP and port, if the kernel is online.
- getSessionArgs() - Method in class madkit.gui.MASModel
- getShortDescription() - Method in class madkit.action.ActionInfo
- getShuffledList() - Method in class madkit.kernel.Probe
-
Returns a ListIterator over the agents which is shuffled
- getSimpleAgentNetworkID() - Method in class madkit.kernel.AgentAddress
-
Return a string representing a shorter version of the unique identifier of the binded agent over the network.
- getSimpleNetworkID() - Method in class madkit.kernel.AbstractAgent
-
Return a string representing a shorter version of the unique identifier of the agent over the network.
- getSimulationDuration() - Method in class madkit.kernel.Scheduler
-
Deprecated.as of MDK 5.3, replaced by
AbstractAgent.getSimulationTime()
available methods - getSimulationState() - Method in class madkit.kernel.Scheduler
-
The state of the simulation.
- getSimulationTime() - Method in class madkit.kernel.AbstractAgent
-
Returns the
Scheduler.SimulationTime
of the current simulation. - getSimulationTime() - Method in class madkit.kernel.Activator
-
Get the
Scheduler.SimulationTime
associated with the simulation - getSmallIcon() - Method in class madkit.action.ActionInfo
- getSource() - Method in class madkit.message.hook.AgentLifeEvent
-
The agent which is related to this event
- getSourceAgent() - Method in class madkit.message.hook.CGREvent
-
Returns the address of the agent that did the request.
- getSourceAgent() - Method in class madkit.message.hook.MessageEvent
- getSourceAgent() - Method in class madkit.message.hook.OrganizationEvent
- getState() - Method in class madkit.kernel.AbstractAgent
-
Returns the current state of the agent in the MaDKit platform.
- getString() - Method in class madkit.message.XMLMessage
-
Returns the XMLMessage content as a string.
- getSynchroPaintingAction() - Method in class madkit.simulation.viewer.SwingViewer
- getThreadPriority() - Method in class madkit.kernel.Agent
-
Returns this thread's priority.
- getToolBar() - Method in class madkit.simulation.viewer.SwingViewer
-
Returns the viewer's toolbar.
- getToolBar(AbstractAgent) - Method in class madkit.gui.MDKDesktopFrame
-
Builds tool bar for the desktop frame.
- getValue(Properties) - Method in enum class madkit.kernel.Madkit.LevelOption
- getWarningLogLevel() - Method in class madkit.kernel.AgentLogger
-
Deprecated.as of MaDKit 5.2, replaced by
AgentLogger.enableCGRWarnings()
- getXMLConfigurations() - Static method in class madkit.kernel.MadkitClassLoader
-
Returns the names of all the xml configuration files available
- GlobalAction - Class in madkit.action
-
Global actions that can be triggered from anywhere during execution.
- GROUP - Enum constant in enum class madkit.i18n.Words
- GROUP_CANDIDATE_ROLE - Static variable in class madkit.agr.DefaultMaDKitRoles
-
This role is a temporary role used to exchange messages with a group's manager that one agent is not part of.
- GROUP_CANDIDATE_ROLE - Static variable in interface madkit.agr.Organization
-
Deprecated.This role is a temporary role used to exchange messages with a group's manager that one agent is not part of.
- GROUP_MANAGER_ROLE - Static variable in class madkit.agr.DefaultMaDKitRoles
-
This role is automatically given to agents that create a group The value of this constant is "manager".
- GROUP_MANAGER_ROLE - Static variable in interface madkit.agr.Organization
-
Deprecated.This role is automatically given to agents that create a group The value of this constant is "manager".
- GUI - Static variable in class madkit.agr.LocalCommunity.Groups
-
The value of this constant is "gui".
- GUI - Static variable in class madkit.util.XMLUtilities
-
Valid attribute of an agent node : "GUI" in a MDK xml config file
- guiLogLevel - Enum constant in enum class madkit.kernel.Madkit.LevelOption
-
Only useful for kernel developers
- GUIManagerAction - Enum Class in madkit.action
-
Enum representing operations which could be done by the default GUI manager of MaDKit.
- GUIMessage - Class in madkit.message
-
Message type that could be used to ask the gui manager to do something
- GUIMessage(GUIManagerAction, Object...) - Constructor for class madkit.message.GUIMessage
H
- hasGUI() - Method in class madkit.kernel.AbstractAgent
-
Tells if this agent has a GUI automatically built by the kernel
- hashCode() - Method in class madkit.gui.MASModel
- hashCode() - Method in class madkit.kernel.AbstractAgent
-
The ID of an agent.
- hashCode() - Method in class madkit.kernel.AgentAddress
-
The hash code of an agent address.
- hashCode() - Method in class madkit.kernel.ConversationID
- hashCode() - Method in class madkit.kernel.KernelAddress
- hasReachedEndTime() - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Checks if the simulation has reached the specified end time
- hasRole(String, String, String) - Method in class madkit.kernel.AbstractAgent
-
Tells if the agent is currently playing a specific role.
- HELP - Enum constant in enum class madkit.i18n.Words
- HelpMenu - Class in madkit.gui.menu
-
Class for building the help menu of MDK frames.
- HelpMenu() - Constructor for class madkit.gui.menu.HelpMenu
- HookMessage - Class in madkit.message.hook
-
This message could be used to request a kernel's hook on agent actions so that the sender will be kept informed when an agent performed particular action.
- HookMessage(HookMessage.AgentActionEvent) - Constructor for class madkit.message.hook.HookMessage
-
This message should be used to request or release a hook on an agent action.
- HookMessage.AgentActionEvent - Enum Class in madkit.message.hook
-
Enumeration representing agent actions that could be monitored using hooks.
I
- i18nDirectory - Enum constant in enum class madkit.kernel.Madkit.Option
-
the directory containing the MDK i18n files
- i18nDirectory - Static variable in class madkit.i18n.I18nUtilities
- I18nUtilities - Class in madkit.i18n
-
Internationalization help class containing only static methods.
- I18nUtilities() - Constructor for class madkit.i18n.I18nUtilities
- ICONIFY_ALL - Enum constant in enum class madkit.action.GUIManagerAction
-
Iconify all the agent frames
- IGNORED - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned when
AbstractAgent.requestRole(String, String, String, Object)
orAbstractAgent.createGroup(String, String, boolean, Gatekeeper)
is used in activate and that the agent has been launched usingAbstractAgent.launchAgentBucket(List, String...)
orAbstractAgent.launchAgentBucket(String, int, String...)
- incrementCurrentDate(long) - Method in interface madkit.kernel.Scheduler.SimulationTime
- incrementCurrentDate(long, ChronoUnit) - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Shortcut for
setCurrentDate(getCurrentDate().plus(amountToAdd, unit));
- incrementCurrentTick(double) - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Shortcut for
setCurrentTick(getCurrentTick().add(BigDecimal.valueOf(delta)));
- incrementCurrentTick(BigDecimal) - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Shortcut for
setCurrentTick(getCurrentTick().add(delta));
- INFORM - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- INFORM_IF - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- INFORM_IF_STRING - Static variable in class madkit.message.ACLMessage
- INFORM_REF - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- INFORM_REF_STRING - Static variable in class madkit.message.ACLMessage
- INFORM_STRING - Static variable in class madkit.message.ACLMessage
- INITIAL_CONFIG - Enum constant in enum class madkit.i18n.Words
- initialize() - Method in class madkit.kernel.Probe
-
Called by the MaDKit kernel when the Activator or Probe is first added.
- INITIALIZING - Enum constant in enum class madkit.kernel.AbstractAgent.State
-
The agent has been launched and is being registered by the kernel but it has not started its
AbstractAgent.activate()
method yet. - IntegerMessage - Class in madkit.message
-
A message class that conveys an integer.
- IntegerMessage(Integer) - Constructor for class madkit.message.IntegerMessage
-
Builds a new message containing the integer i
- INVALID_AGENT_ADDRESS - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned by send primitives when the targeted agent address does not exist anymore, i.e. the related agent has leaved the corresponding role
- isActivated(Properties) - Method in enum class madkit.kernel.Madkit.BooleanOption
-
Tells if this option is activated for this session.
- isAlive() - Method in class madkit.kernel.AbstractAgent
-
Returns
true
if the agent has been launched and is not ended nor killed. - isCGRWarningsOn() - Method in class madkit.kernel.AgentLogger
-
Tells if CGR warnings (Community, Group, Role) are enabled.
- isCommunity(String) - Method in class madkit.kernel.AbstractAgent
-
Tells if a community exists in the artificial society.
- isDaemon() - Method in class madkit.kernel.Agent
-
Tells if the agent is a daemon.
- isFrom(KernelAddress) - Method in class madkit.kernel.AgentAddress
-
Tells if the address is from a specific kernel.
- isGroup(String, String) - Method in class madkit.kernel.AbstractAgent
-
Tells if a group exists in the artificial society.
- isKernelOnline() - Method in class madkit.kernel.AbstractAgent
-
Tells if the kernel on which this agent is running is online.
- isLoggable(Level) - Method in class madkit.kernel.AgentLogger
-
Check if a message of the given level would actually be logged by this logger.
- isMadkitPropertyTrue(E) - Method in class madkit.kernel.AbstractAgent
-
Shortcut for
Boolean.parseBoolean(getMadkitProperty(option))
- isMessageBoxEmpty() - Method in class madkit.kernel.AbstractAgent
-
Tells if there is a message in the mailbox
- isMulticoreModeOn() - Method in class madkit.kernel.Activator
- isRendering() - Method in class madkit.simulation.viewer.SwingViewer
- isRole(String, String, String) - Method in class madkit.kernel.AbstractAgent
-
Tells if a role exists in the artificial society.
- isSynchronousPainting() - Method in class madkit.simulation.viewer.SwingViewer
-
Tells if the rendering should be done synchronously or asynchronously with respect to simulation steps.
J
- JAVAWS_IS_ON - Static variable in class madkit.kernel.MadkitProperties
-
Shortcut for System.getProperty("javawebstart.version") !
- JCONSOLE - Static variable in class madkit.action.GlobalAction
-
An action that Launches the jconsole tool if it is available.
K
- KERNEL - Static variable in class madkit.agr.LocalCommunity.Roles
-
The value of this constant is "kernel".
- KernelAction - Enum Class in madkit.action
-
Enum representing kernel actions.
- KernelAddress - Class in madkit.kernel
-
This class represents a unique identifier for MaDKit kernel.
- KernelException - Exception in madkit.kernel
-
Thrown to indicate that the agent is trying to use a method while not launched or already dead.
- kernelLogLevel - Enum constant in enum class madkit.kernel.Madkit.LevelOption
-
Only useful for kernel developers
- KernelMessage - Class in madkit.message
-
The brand new version of KernelMessage.
- KernelMessage(KernelAction, Object...) - Constructor for class madkit.message.KernelMessage
- KILL_AGENT - Enum constant in enum class madkit.action.AgentAction
- KILL_AGENT - Enum constant in enum class madkit.action.KernelAction
-
Kill an agent
- KILL_AGENTS - Enum constant in enum class madkit.action.GUIManagerAction
-
Kills all the agents having a GUI
- killAgent(AbstractAgent) - Method in class madkit.kernel.AbstractAgent
-
Kills the targeted agent.
- killAgent(AbstractAgent, int) - Method in class madkit.kernel.AbstractAgent
-
Kills the targeted agent.
- killAgent(AbstractAgent, int) - Method in class madkit.kernel.Agent
- killAgents() - Method in class madkit.kernel.Probe
-
Kills all the agents which are monitored.
- KQMLMessage - Class in madkit.message
-
This class describes a KQML message.
- KQMLMessage(String) - Constructor for class madkit.message.KQMLMessage
-
Constructor for KQMLMessage class
L
- LAST_AVAILABLE - Enum constant in enum class madkit.i18n.Words
- LAUNCH - Enum constant in enum class madkit.i18n.Words
- LAUNCH_AGENT - Enum constant in enum class madkit.action.AgentAction
- LAUNCH_AGENT - Enum constant in enum class madkit.action.KernelAction
-
Launch an agent
- LAUNCH_MAIN - Static variable in class madkit.action.GlobalAction
-
An action that launch the main method of the class which name is obtained using
ActionEvent.getActionCommand()
on the received event, i.e. the action command of the button. - LAUNCH_MAS - Enum constant in enum class madkit.action.KernelAction
-
Launch a MAS configuration
- LAUNCH_MDK_CONFIG - Static variable in class madkit.action.GlobalAction
-
An action that launches a new MaDKit instance using the configuration file which name is obtained using
ActionEvent.getActionCommand()
on the received event, i.e. the action command of the button. - LAUNCH_NETWORK - Enum constant in enum class madkit.action.KernelAction
-
Start the network
- LAUNCH_XML - Enum constant in enum class madkit.action.KernelAction
-
Launch an XML configuration
- launchAgent(String) - Method in class madkit.kernel.AbstractAgent
-
Launches a new agent using its full class name.
- launchAgent(String, boolean) - Method in class madkit.kernel.AbstractAgent
-
Launches a new agent using its full class name.
- launchAgent(String, int) - Method in class madkit.kernel.AbstractAgent
-
Launches a new agent using its full class name.
- launchAgent(String, int, boolean) - Method in class madkit.kernel.AbstractAgent
-
Launches a new agent using its full class name and returns when the launched agent has completed its
AbstractAgent.activate()
method or when the time out is elapsed. - launchAgent(AbstractAgent) - Method in class madkit.kernel.AbstractAgent
-
Launches a new agent in the MaDKit platform.
- launchAgent(AbstractAgent, boolean) - Method in class madkit.kernel.AbstractAgent
-
Launches a new agent in the MaDKit platform.
- launchAgent(AbstractAgent, int) - Method in class madkit.kernel.AbstractAgent
-
Launches a new agent in the MaDKit platform.
- launchAgent(AbstractAgent, int, boolean) - Method in class madkit.kernel.AbstractAgent
-
Launches a new agent and returns when the agent has completed its
AbstractAgent.activate()
method or whentimeOutSeconds
seconds elapsed. - launchAgentBucket(String, int, int, String...) - Method in class madkit.kernel.AbstractAgent
-
Optimizes mass agent launching.
- launchAgentBucket(String, int, String...) - Method in class madkit.kernel.AbstractAgent
-
This has the same effect as
launchAgentBucket(agentClass, bucketSize, 1, roles)
. - launchAgentBucket(List<? extends AbstractAgent>, int, String...) - Method in class madkit.kernel.AbstractAgent
-
Similar to
AbstractAgent.launchAgentBucket(String, int, String...)
except that the list of agents to launch is given. - launchAgentBucket(List<? extends AbstractAgent>, String...) - Method in class madkit.kernel.AbstractAgent
-
This call is equivalent to This has the same effect as
launchAgentBucket(bucket, 1, roles)
, That is only one core will be used for the launch. - launchAgents - Enum constant in enum class madkit.kernel.Madkit.Option
-
Used to launch agents at start up.
- LaunchAgentsMenu - Class in madkit.gui.menu
-
This class builds a
JMenu
containing all the agents which are on the class path, so that they can be individually launched. - LaunchAgentsMenu(AbstractAgent) - Constructor for class madkit.gui.menu.LaunchAgentsMenu
- LaunchAgentsMenu(AbstractAgent, String) - Constructor for class madkit.gui.menu.LaunchAgentsMenu
-
Builds a new menu containing all the agents available on the class path, except madkit.kernel agents.
- LaunchAgentsMenu(AbstractAgent, String, AgentClassFilter) - Constructor for class madkit.gui.menu.LaunchAgentsMenu
-
Builds a new launching menu containing all the agents available on the class path.
- LaunchMain - Class in madkit.gui.menu
-
This class builds a
JMenu
containing all the agent classes containing a main method - LaunchMain(String) - Constructor for class madkit.gui.menu.LaunchMain
-
Builds a new menu.
- LaunchMAS - Class in madkit.gui.menu
-
This class builds a
JMenu
containing all the MAS which have been found on the class path, so that they can be individually launched according to their configuration. - LaunchMAS(AbstractAgent) - Constructor for class madkit.gui.menu.LaunchMAS
-
Builds a new menu.
- LaunchMDKConfigurations - Class in madkit.gui.menu
-
This class builds a
JMenu
containing all the MDK configuration files found on the class path. - LaunchMDKConfigurations(String) - Constructor for class madkit.gui.menu.LaunchMDKConfigurations
-
Builds a new menu.
- launchNode(Node) - Method in class madkit.kernel.AbstractAgent
-
Launch agents by parsing an XML node.
- launchXmlAgents(String) - Method in class madkit.kernel.AbstractAgent
-
launch all the agents defined in an xml configuration file
- LaunchXMLConfigurations - Class in madkit.gui.menu
-
This class builds a
JMenu
containing all the MDK xml configuration files found on the class path. - LaunchXMLConfigurations(AbstractAgent, String) - Constructor for class madkit.gui.menu.LaunchXMLConfigurations
-
Builds a new menu.
- LEAVE_GROUP - Enum constant in enum class madkit.action.AgentAction
- LEAVE_GROUP - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
- LEAVE_ROLE - Enum constant in enum class madkit.action.AgentAction
- LEAVE_ROLE - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
- leaveGroup(String, String) - Method in class madkit.kernel.AbstractAgent
-
Makes this agent leaves the group of a particular community.
- leaveRole(String, String, String) - Method in class madkit.kernel.AbstractAgent
-
Abandons an handled role within a group of a particular community.
- live() - Method in class madkit.kernel.Agent
-
This method corresponds to the second behavior which is called by the MaDKit kernel when a threaded agent is launched (i.e. an agent which subclasses this class).
- live() - Method in class madkit.kernel.Scheduler
-
Scheduler's default behavior. default code is:
- LIVING - Enum constant in enum class madkit.kernel.AbstractAgent.State
-
The agent is processing its
Agent.live()
method. - LOAD_JAR_FILE - Static variable in class madkit.action.GlobalAction
-
Opens a dialog for selecting the jar file to add.
- LOAD_LOCAL_DEMOS - Static variable in class madkit.action.GlobalAction
-
Load the jar files which are in the "demos" directory if there is one in the working directory
- loadClass(String, boolean) - Method in class madkit.kernel.MadkitClassLoader
- loadJarsFromDirectory(String) - Static method in class madkit.kernel.MadkitClassLoader
-
Loads all jar files from a directory
- loadLocalDemos - Enum constant in enum class madkit.kernel.Madkit.BooleanOption
-
Loads on startup all the jar files found in a "demos" directory placed in the working directory.
- loadPropertiesFromFile(String) - Method in class madkit.kernel.MadkitProperties
-
Loads properties from a properties file (classic or XML).
- loadPropertiesFromMaDKitXML(String) - Method in class madkit.kernel.MadkitProperties
-
Loads properties from an XML file.
- loadPropertiesFromPropertiesFile(String) - Method in class madkit.kernel.MadkitProperties
-
Loads properties from a regular properties formatted file.
- loadUrl(URL) - Static method in class madkit.kernel.MadkitClassLoader
-
Adds a directory or a jar file to the class path.
- LocalCommunity - Class in madkit.agr
-
Implements Constants which are used for the primary CGR organization places.
- LocalCommunity.Groups - Class in madkit.agr
-
MDK kernel core groups.
- LocalCommunity.Roles - Class in madkit.agr
-
MDK kernel core roles.
- log(LogRecord) - Method in class madkit.kernel.AgentLogger
- LOG_FILES - Static variable in class madkit.action.GlobalAction
-
An action that create a log file for each agent having a non
null
logger. - LOG_LEVEL - Enum constant in enum class madkit.action.LoggingAction
- LOG_LEVEL - Static variable in class madkit.util.XMLUtilities
-
Valid attribute of an agent node determining the agent log level to be set, the name of the attribute is "logLevel"
- logActivationStep() - Method in class madkit.kernel.Scheduler
-
Logs the current simulation step value.
- logActivationStep() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
- logDirectory - Enum constant in enum class madkit.kernel.Madkit.Option
-
Used to specify the directory wherein the logs should be done when the
Madkit.BooleanOption.createLogFiles
is activated. - LoggingAction - Enum Class in madkit.action
-
Enum representing agent actions
M
- Madkit - Class in madkit.kernel
-
MaDKit 5 booter class.
- Madkit(String...) - Constructor for class madkit.kernel.Madkit
-
Launch a new kernel with predefined options.
- MADKIT_LOGO - Static variable in class madkit.gui.SwingUtil
-
The MaDKit's logo
- MADKIT_LOGO_SMALL - Static variable in class madkit.gui.SwingUtil
-
The MaDKit's logo with a size of 14x14 pixels
- MADKIT_PROPERTIES - Static variable in class madkit.util.XMLUtilities
-
The name of a node containing properties for MaDKit : "MadkitProperties"
- madkit.action - package madkit.action
-
Contains enumerations useful for (1) interacting with agents and (2) building customized GUI.
- madkit.agr - package madkit.agr
-
This package defines the default communities, groups and roles constants in MaDKit 5.
- Madkit.BooleanOption - Enum Class in madkit.kernel
-
Option used to activate or disable features on startup.
- madkit.gui - package madkit.gui
-
Contains classes for Agent GUI authoring in MaDKit.
- madkit.gui.menu - package madkit.gui.menu
-
Contains classes for building MaDKit GUI menus.
- madkit.gui.toolbar - package madkit.gui.toolbar
-
Contains classes for building MaDKit GUI toolbars.
- madkit.i18n - package madkit.i18n
-
This package is related to internationalization work.
- madkit.kernel - package madkit.kernel
-
Provides classes that are fundamental to the design of MaDKit applications.
- Madkit.LevelOption - Enum Class in madkit.kernel
-
MaDKit options valued with a string representing a
Level
value. - madkit.message - package madkit.message
-
Contains subclasses of
Message
which could be easily reused. - madkit.message.hook - package madkit.message.hook
-
Contains message classes useful for monitoring MaDKit kernel events.
- Madkit.Option - Enum Class in madkit.kernel
-
MaDKit options which are valued with a string representing parameters.
- madkit.simulation - package madkit.simulation
-
Contains utilities related with simulation authoring.
- madkit.simulation.activator - package madkit.simulation.activator
-
Contains activators for simulation authoring.
- madkit.simulation.model - package madkit.simulation.model
-
Contains classes designed for encapsulating simulation models.
- madkit.simulation.probe - package madkit.simulation.probe
-
Contains probes for simulation authoring.
- madkit.simulation.scheduler - package madkit.simulation.scheduler
-
Contains specialized Scheduler agents
- madkit.simulation.viewer - package madkit.simulation.viewer
-
Contains default viewer classes for simulation visualization.
- madkit.util - package madkit.util
-
Contains some utilities for working with MaDKit.
- MadkitClassLoader - Class in madkit.kernel
-
The MadkitClassLoader is the class loader used by MaDKit.
- madkitLogLevel - Enum constant in enum class madkit.kernel.Madkit.LevelOption
-
Can be used to make MaDKit quiet
- MadkitMenu - Class in madkit.gui.menu
-
An out of the box menu for MaDKit applications
- MadkitMenu(AbstractAgent) - Constructor for class madkit.gui.menu.MadkitMenu
-
Builds a menu featuring the following actions:
KernelAction.EXIT
KernelAction.COPY
KernelAction.RESTART
KernelAction.LAUNCH_NETWORK
KernelAction.STOP_NETWORK
GUIManagerAction.CONNECT_TO_IP
GlobalAction.JCONSOLE
KernelAction.CONSOLE
GlobalAction.DEBUG
GlobalAction.LOAD_LOCAL_DEMOS
GlobalAction.LOAD_JAR_FILE
GUIManagerAction.ICONIFY_ALL
GUIManagerAction.DEICONIFY_ALL
GUIManagerAction.KILL_AGENTS
- MadkitOption - Interface in madkit.kernel
-
Every regular MaDKit Options implements this interface.
- MadkitProperties - Class in madkit.kernel
-
The properties object used within MaDKit.
- MadkitProperties() - Constructor for class madkit.kernel.MadkitProperties
- MadkitToolBar - Class in madkit.gui.toolbar
-
An out of the box toolbar for MaDKit based applications.
- MadkitToolBar(AbstractAgent) - Constructor for class madkit.gui.toolbar.MadkitToolBar
-
Creates a
JToolBar
featuring:KernelAction.EXIT
KernelAction.COPY
KernelAction.RESTART
KernelAction.LAUNCH_NETWORK
KernelAction.STOP_NETWORK
GUIManagerAction.CONNECT_TO_IP
GlobalAction.JCONSOLE
KernelAction.CONSOLE
GlobalAction.DEBUG
GlobalAction.LOAD_LOCAL_DEMOS
GlobalAction.LOAD_JAR_FILE
GUIManagerAction.ICONIFY_ALL
GUIManagerAction.DEICONIFY_ALL
GUIManagerAction.KILL_AGENTS
- main(String[]) - Static method in class madkit.kernel.Madkit
-
This main could be used to launch a new kernel using predefined options.
- main(String[]) - Static method in class madkit.kernel.MadkitClassLoader
-
This is only used by ant scripts for building MDK jar files.
- MapMessage<K,
V> - Class in madkit.message -
This class could be used to build message conveying
Map
objects between MaDKit agents. - MapMessage() - Constructor for class madkit.message.MapMessage
-
/** Builds a
MapMessage
containing an emptyHashMap
} - MapMessage(Map<K, V>) - Constructor for class madkit.message.MapMessage
-
Builds a
MapMessage
containing the specified map - MAS - Enum constant in enum class madkit.i18n.Words
- MASModel - Class in madkit.gui
-
This represents a MaDKit session
- MASModel(String, String[], String) - Constructor for class madkit.gui.MASModel
- max(Collection<M>) - Static method in class madkit.message.ObjectMessage
-
Returns the message containing the maximum element of the given collection, according to the natural ordering of the elements contained in the message.
- MDK - Static variable in class madkit.util.XMLUtilities
-
Name of the root node of MaDKit xml fles, value is "MDK"
- MDKAbstractAction - Class in madkit.action
-
This class provides an easy way of building new actions (
Action
) initialized withActionInfo
objects. - MDKAbstractAction(ActionInfo) - Constructor for class madkit.action.MDKAbstractAction
-
Builds a new action using the passed action's information
- MDKDesktopFrame - Class in madkit.gui
-
A class that could be overridden to define a new desktop frame for MaDKit
- MDKDesktopFrame() - Constructor for class madkit.gui.MDKDesktopFrame
- Message - Class in madkit.kernel
-
The generic MaDKit message class.
- Message() - Constructor for class madkit.kernel.Message
- MessageEvent - Class in madkit.message.hook
-
A message which is sent to agents that have requested a hook on
HookMessage.AgentActionEvent.AGENT_STARTED
orHookMessage.AgentActionEvent.AGENT_TERMINATED
- MessageEvent(HookMessage.AgentActionEvent, Message) - Constructor for class madkit.message.hook.MessageEvent
- MessageFilter - Interface in madkit.message
-
Instances of classes that implement this interface are used to filter messages when consulting the mailbox.
- min(Collection<M>) - Static method in class madkit.message.ObjectMessage
-
Returns the message containing the minimum element of the given collection, according to the natural ordering of the elements contained in the message.
- multicoreExecute(Object...) - Method in class madkit.kernel.Activator
-
Executes the behavior on all the agents in a concurrent way, using several processor cores if available.
- MUST_BE_LAUNCHED - Enum constant in enum class madkit.i18n.ErrorMessages
N
- name() - Method in interface madkit.kernel.MadkitOption
-
Returns the option's name.
- NAME - Static variable in class madkit.agr.LocalCommunity
- NAME - Static variable in class madkit.agr.NetworkCommunity
- NB_OF_INSTANCES - Static variable in class madkit.util.XMLUtilities
-
Valid attribute of an agent node : "nbOfInstances" in a MDK xml config file
- nbOfParallelTasks() - Method in class madkit.kernel.Activator
-
Returns the number of tasks that will be created by this activator in order to benefit from multicore platforms.
- NET_AGENT - Static variable in class madkit.agr.LocalCommunity.Roles
-
The value of this constant is "net agent".
- NET_AGENT - Static variable in class madkit.agr.NetworkCommunity.Roles
- network - Enum constant in enum class madkit.kernel.Madkit.BooleanOption
-
Starts the network on startup.
- NETWORK - Static variable in class madkit.agr.LocalCommunity.Groups
-
The value of this constant is "network".
- NETWORK_AGENTS - Static variable in class madkit.agr.NetworkCommunity.Groups
- NetworkCommunity - Class in madkit.agr
-
Defines the default groups and roles used for networking.
- NetworkCommunity.Groups - Class in madkit.agr
-
Default groups in the Network community.
- NetworkCommunity.Roles - Class in madkit.agr
-
Default roles in the Network community.
- networkLogLevel - Enum constant in enum class madkit.kernel.Madkit.LevelOption
- NEW_MSG - Enum constant in enum class madkit.i18n.Words
- nextMessage() - Method in class madkit.kernel.AbstractAgent
-
Retrieves and removes the oldest received message contained in the mailbox.
- nextMessage(MessageFilter) - Method in class madkit.kernel.AbstractAgent
-
Retrieves and removes the first oldest message of the mailbox that matches the filter.
- nextMessages(MessageFilter) - Method in class madkit.kernel.AbstractAgent
-
Retrieves and removes all the messages of the mailbox that match the filter, in the order they were received.
- NO_RECIPIENT_FOUND - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned by send primitives when the targeted CGR location does not exist or contain any agent
- noAgentConsoleLog - Enum constant in enum class madkit.kernel.Madkit.BooleanOption
-
Defines if agent logging should be quiet in the default console.
- nodeToString(Node) - Static method in class madkit.util.XMLUtilities
- NOT_COMMUNITY - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Indicates that a community does not exist
- NOT_GROUP - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Indicates that a group does not exist
- NOT_IN_GROUP - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Indicates that the agent is not in a group
- NOT_LAUNCHED - Enum constant in enum class madkit.kernel.AbstractAgent.State
-
The agent has not been launched yet.
- NOT_ROLE - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Indicates that a role does not exist
- NOT_UNDERSTOOD - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- NOT_UNDERSTOOD_STRING - Static variable in class madkit.message.ACLMessage
- NOT_YET_LAUNCHED - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned by kill primitives when the targeted agent has not been launched priorly
O
- ObjectMessage<T> - Class in madkit.message
-
This parameterizable class could be used to convey any Java Object between MaDKit agents.
- ObjectMessage(T) - Constructor for class madkit.message.ObjectMessage
-
Builds a message with the specified content
- observe() - Method in class madkit.simulation.viewer.SwingViewer
-
Intended to be invoked by a scheduler's activator for triggering the rendering.
- onUpdate(boolean) - Method in class madkit.action.BooleanAction
-
Method automatically triggered when the action is selected or unselected
- OPTION_MISUSED - Enum constant in enum class madkit.i18n.ErrorMessages
- Organization - Interface in madkit.agr
-
Deprecated.as of MaDKit 5.2 replaced by
DefaultMaDKitRoles
- OrganizationEvent - Class in madkit.message.hook
-
A message which is sent to agents that have requested a hook on
HookMessage.AgentActionEvent.CREATE_GROUP
,HookMessage.AgentActionEvent.REQUEST_ROLE
,HookMessage.AgentActionEvent.LEAVE_GROUP
, orHookMessage.AgentActionEvent.LEAVE_ROLE
- OrganizationEvent(HookMessage.AgentActionEvent, AgentAddress) - Constructor for class madkit.message.hook.OrganizationEvent
- OrganizationSnapshot - Class in madkit.agr
-
This class is just an alias for using the underlying data structure
- OrganizationSnapshot() - Constructor for class madkit.agr.OrganizationSnapshot
- OutputPanel - Class in madkit.gui
-
A scrollable panel that prints all the agent's logging activity.
- OutputPanel(AbstractAgent) - Constructor for class madkit.gui.OutputPanel
-
Builds the panel for the agent
P
- pack() - Method in class madkit.gui.AgentFrame
- pause(int) - Method in class madkit.kernel.Agent
-
Stops the agent's process for a while.
- PAUSE - Enum constant in enum class madkit.action.SchedulingAction
- PAUSE - Enum constant in enum class madkit.i18n.Words
- paused() - Method in class madkit.kernel.Scheduler
-
Runs
Scheduler.checkMail(Message)
every 1000 ms. - PAUSED - Enum constant in enum class madkit.kernel.Scheduler.SimulationState
-
The simulation is paused.
- performatives - Static variable in class madkit.message.ACLMessage
- print(Graphics, PageFormat, int) - Method in interface madkit.gui.PrintableFrame
- PRINT - Enum constant in enum class madkit.action.UIAction
- PrintableFrame - Interface in madkit.gui
-
Interface that adds the printing feature to MDK frames
- Probe<A extends AbstractAgent> - Class in madkit.kernel
-
This class defines a watcher's generic probe.
- Probe(String, String, String) - Constructor for class madkit.kernel.Probe
-
Builds a new Probe<> on the given CGR location of the artificial society.
- proceedEnumMessage(EnumMessage<E>) - Method in class madkit.kernel.AbstractAgent
-
Proceeds an
EnumMessage
so that if it is correctly built, the agent will trigger its corresponding behavior using the parameters of the message. - PROPAGATE - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- PROPAGATE_STRING - Static variable in class madkit.message.ACLMessage
- PropertyProbe<A extends AbstractAgent,
T> - Class in madkit.simulation.probe -
This probe inspects fields of type T on agents of type A and its subclasses.
- PropertyProbe(String, String, String, String) - Constructor for class madkit.simulation.probe.PropertyProbe
-
Builds a new PropertyProbe considering a CGR location and the name of the class's field.
- PROPOSE - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- PROPOSE_STRING - Static variable in class madkit.message.ACLMessage
- PROXY - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- PROXY_STRING - Static variable in class madkit.message.ACLMessage
- purgeMailbox() - Method in class madkit.kernel.AbstractAgent
-
Purges the mailbox and returns the most recent received message at that time.
- put(K, V) - Method in class madkit.message.MapMessage
-
invoke
Map.put(Object, Object)
on the map contained in this message.
Q
- QUERY_IF - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- QUERY_IF_STRING - Static variable in class madkit.message.ACLMessage
- QUERY_REF - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- QUERY_REF_STRING - Static variable in class madkit.message.ACLMessage
R
- R_NULL - Enum constant in enum class madkit.i18n.ErrorMessages
- receiveMessage(Message) - Method in class madkit.kernel.AbstractAgent
-
This method offers a convenient way for regular object to send messages to Agents, especially threaded agents.
- REFUSE - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- REFUSE_STRING - Static variable in class madkit.message.ACLMessage
- REJECT_PROPOSAL - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- REJECT_PROPOSAL_STRING - Static variable in class madkit.message.ACLMessage
- reload() - Method in class madkit.kernel.AbstractAgent
-
Kills the caller and launches a new instance of this agent using the latest byte code available for the corresponding class.
- RELOAD - Enum constant in enum class madkit.action.AgentAction
- RELOAD - Enum constant in enum class madkit.i18n.Words
- reloadClass(String) - Static method in class madkit.kernel.MadkitClassLoader
-
Schedule the reloading of the byte code of a class for its next loading.
- remove(AbstractAgent) - Static method in class madkit.gui.AgentStatusPanel
- remove(AbstractAgent) - Static method in class madkit.gui.menu.AgentLogLevelMenu
- removeActivator(Activator<? extends AbstractAgent>) - Method in class madkit.kernel.Scheduler
-
Removes an activator from the simulation engine.
- removeAllActivators() - Method in class madkit.kernel.Scheduler
-
Remove all the activators which have been previously added
- removeAllProbes() - Method in class madkit.kernel.Watcher
-
Remove all probes at once.
- removeProbe(Probe<? extends AbstractAgent>) - Method in class madkit.kernel.Watcher
-
Removes the probe from the artificial organization, thus stopping the probing activity.
- removeReceiver(AgentAddress) - Method in class madkit.message.ACLMessage
-
Removes a value from
:receiver
slot. - removeReplyTo(AgentAddress) - Method in class madkit.message.ACLMessage
-
Removes a value from
:reply_to
slot. - removing(A) - Method in class madkit.kernel.Probe
-
This method is automatically called when an agent leaves the corresponding group and role.
- removing(A) - Method in class madkit.simulation.activator.DiscreteEventAgentsActivator
- removing(A) - Method in class madkit.simulation.probe.SingleAgentProbe
- removing(List<A>) - Method in class madkit.kernel.Probe
-
This method is automatically called when a list of agents has leaved the corresponding group and role.
- render(Graphics) - Method in class madkit.simulation.viewer.SwingViewer
-
Override this method to do the rendering in the agent's panel.
- REQUEST - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- REQUEST_ROLE - Enum constant in enum class madkit.action.AgentAction
- REQUEST_ROLE - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
- REQUEST_STRING - Static variable in class madkit.message.ACLMessage
- REQUEST_WHEN - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- REQUEST_WHEN_STRING - Static variable in class madkit.message.ACLMessage
- REQUEST_WHENEVER - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- REQUEST_WHENEVER_STRING - Static variable in class madkit.message.ACLMessage
- requestRole(String, String, String) - Method in class madkit.kernel.AbstractAgent
-
Requests a role within a group of a particular community.
- requestRole(String, String, String, Object) - Method in class madkit.kernel.AbstractAgent
-
Requests a role within a group of a particular community using a passKey.
- resetAllLoggersToDefaultLevel() - Static method in class madkit.kernel.AgentLogger
-
reset all loggers to the level specified by
Madkit.LevelOption.agentLogLevel
- RESTART - Enum constant in enum class madkit.action.KernelAction
-
Restart the kernel with its initial options
- restoreSelectedKeyPreference() - Method in class madkit.action.BooleanAction
- restoreUIPreferences() - Method in class madkit.gui.AgentFrame
- ROLE - Enum constant in enum class madkit.i18n.Words
- ROLE_ALREADY_HANDLED - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned when the agent already has the requested role
- ROLE_NOT_HANDLED - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned when the agent does not have a role that it is supposed to have doing a particular action, e.g.
- RUN - Enum constant in enum class madkit.action.SchedulingAction
- RUNNING - Enum constant in enum class madkit.kernel.Scheduler.SimulationState
-
The simulation process is running normally.
S
- scaleAllAbstractButtonIconsOf(Container, int) - Static method in class madkit.gui.SwingUtil
-
Resizes the icons of all the abstract buttons which are contained in a container.
- Scheduler - Class in madkit.kernel
-
Scheduler is the core agent for defining multi-agent based simulations.
- Scheduler() - Constructor for class madkit.kernel.Scheduler
-
Constructs a
Scheduler
using a tick-basedScheduler.SimulationTime
. - Scheduler(double) - Constructor for class madkit.kernel.Scheduler
-
Constructs a
Scheduler
using a tick-based that will end the simulation for the specified tick. - Scheduler(LocalDateTime) - Constructor for class madkit.kernel.Scheduler
-
Constructs a
Scheduler
using a date-based time which relies onLocalDateTime
- Scheduler.SimulationState - Enum Class in madkit.kernel
-
A simulation state.
- Scheduler.SimulationTime - Interface in madkit.kernel
- SchedulingAction - Enum Class in madkit.action
-
Enum representing operations which could be done by a
Scheduler
agent. - SchedulingMessage - Class in madkit.message
-
This message class could be used to interact with a Scheduler agent.
- SchedulingMessage(SchedulingAction, Object...) - Constructor for class madkit.message.SchedulingMessage
- SEND_MESSAGE - Enum constant in enum class madkit.action.AgentAction
- SEND_MESSAGE - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
- SenderRoleFilter - Class in madkit.message
-
A filter that accepts message based on the sender's role.
- SenderRoleFilter(String, String, String) - Constructor for class madkit.message.SenderRoleFilter
-
a new filter that acts according to the sender's CGR location.
- sendMessage(String, String, String, Message) - Method in class madkit.kernel.AbstractAgent
-
Sends a message to an agent having this position in the organization, specifying explicitly the role used to send it.
- sendMessage(AgentAddress, Message) - Method in class madkit.kernel.AbstractAgent
-
Sends a message to an agent using an agent address.
- sendMessageAndWaitForReply(String, String, String, Message) - Method in class madkit.kernel.Agent
-
Sends a message to an agent having this position in the organization and waits indefinitely for an answer to it.
- sendMessageAndWaitForReply(String, String, String, Message, int) - Method in class madkit.kernel.Agent
-
Sends a message to an agent having this position in the organization and waits for an answer to it.
- sendMessageAndWaitForReply(AgentAddress, Message) - Method in class madkit.kernel.Agent
-
Sends a message and waits indefinitely for an answer to it.
- sendMessageAndWaitForReply(AgentAddress, Message, int) - Method in class madkit.kernel.Agent
-
Sends a message and waits for an answer to it.
- sendMessageWithRole(String, String, String, Message, String) - Method in class madkit.kernel.AbstractAgent
-
Sends a message to an agent having this position in the organization.
- sendMessageWithRole(AgentAddress, Message, String) - Method in class madkit.kernel.AbstractAgent
-
Sends a message, using an agent address, specifying explicitly the role used to send it.
- sendMessageWithRoleAndWaitForReply(String, String, String, Message, String) - Method in class madkit.kernel.Agent
-
Sends a message to an agent having this position in the organization and waits indefinitely for an answer to it.
- sendMessageWithRoleAndWaitForReply(String, String, String, Message, String, Integer) - Method in class madkit.kernel.Agent
-
Sends a message to an agent having this position in the organization and waits for an answer to it.
- sendMessageWithRoleAndWaitForReply(AgentAddress, Message, String) - Method in class madkit.kernel.Agent
-
Sends a message and waits for an answer to it.
- sendMessageWithRoleAndWaitForReply(AgentAddress, Message, String, Integer) - Method in class madkit.kernel.Agent
-
Sends a message and waits for an answer to it.
- sendReply(Message, Message) - Method in class madkit.kernel.AbstractAgent
-
Sends a message by replying to a previously received message.
- sendReplyAndWaitForReply(Message, Message) - Method in class madkit.kernel.Agent
-
Sends a reply message and waits indefinitely for an answer to it.
- sendReplyAndWaitForReply(Message, Message, int) - Method in class madkit.kernel.Agent
-
Sends a reply message and waits for an answer to it.
- sendReplyWithRole(Message, Message, String) - Method in class madkit.kernel.AbstractAgent
-
Sends a message by replying to a previously received message.
- sendReplyWithRoleAndWaitForReply(Message, Message, String) - Method in class madkit.kernel.Agent
-
Sends a reply message and waits indefinitely for an answer to it.
- sendReplyWithRoleAndWaitForReply(Message, Message, String, Integer) - Method in class madkit.kernel.Agent
-
Sends a reply message and waits for an answer to it.
- setActivatorPriority(Activator<? extends AbstractAgent>, int) - Method in class madkit.kernel.Scheduler
-
Sets the priority of an
Activator
. - setAllLoggersAtLevelAll() - Static method in class madkit.kernel.AgentLogger
-
A convenient way of activating a debug session
- setAllLogLevels(Level) - Static method in class madkit.kernel.AgentLogger
-
Set all the agents' loggers to the specified level
- setBackground(Color) - Method in class madkit.gui.AgentFrame
- setBackground(Color) - Method in class madkit.gui.MDKDesktopFrame
- setBackground(Color) - Method in class madkit.gui.OutputPanel
- setContent(String) - Method in class madkit.message.ACLMessage
- setContent(String) - Method in class madkit.message.ActMessage
- setConversationID(String) - Method in class madkit.message.ACLMessage
- setCurrentDate(LocalDateTime) - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Shortcut for
setCurrentDate(getCurrentDate().plus(amountToAdd, unit));
- setCurrentTick(double) - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Shortcut for
setCurrentTick(BigDecimal.valueOf(value));
- setCurrentTick(BigDecimal) - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Sets the current tick a the simulation to the specified value
- setDefaultInterval(Duration) - Method in class madkit.simulation.activator.DateBasedDiscreteEventActivator
- setDefaultInterval(Duration) - Method in class madkit.simulation.activator.DiscreteEventAgentsActivator
- setDefaultTemporalUnit(ChronoUnit) - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Sets the default temporal unit which will be used by
Scheduler.SimulationTime.addOneTimeUnit()
andScheduler.SimulationTime.incrementCurrentDate(long)
in a date-based mode - setDelay(int) - Method in class madkit.kernel.Scheduler
-
Sets the delay between two simulation steps.
- setDisplayPane(JComponent) - Method in class madkit.simulation.viewer.SwingViewer
-
Could be used to define a customized panel instead of the default pane
- setEncoding(String) - Method in class madkit.message.ACLMessage
- setEndDate(LocalDateTime) - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Sets the date at which the simulation should stop
- setEndTick(BigDecimal) - Method in interface madkit.kernel.Scheduler.SimulationTime
-
Sets the tick at which the simulation should end
- setEnvelope(String) - Method in class madkit.message.ACLMessage
- setField(String, Object) - Method in class madkit.message.ActMessage
- setForce(String) - Method in class madkit.message.KQMLMessage
- setGVT(double) - Method in class madkit.kernel.Scheduler
-
Deprecated.as of MaDKit 5.3, replaced by
AbstractAgent.getSimulationTime()
- setI18nDirectory(String) - Static method in class madkit.i18n.I18nUtilities
- setInReplyTo(String) - Method in class madkit.message.ACLMessage
- setInReplyTo(String) - Method in class madkit.message.ActMessage
- setInReplyTo(String) - Method in class madkit.message.KQMLMessage
- setLanguage(String) - Method in class madkit.message.ACLMessage
- setLanguage(String) - Method in class madkit.message.KQMLMessage
- setLevel(Level) - Method in class madkit.kernel.AgentLogger
-
Set the log level for the corresponding agent.
- setLocation(int, int) - Method in class madkit.gui.AgentFrame
- setLogLevel(Level) - Method in class madkit.kernel.AbstractAgent
-
Deprecated.as of MaDKit 5.2,
AgentLogger.setLevel(Level)
should now be used throughAbstractAgent.getLogger()
- setMadkitProperty(E, String) - Method in class madkit.kernel.AbstractAgent
-
Set the MaDKit session property indicated by the specified constant representing a MaDKit option.
- setMadkitProperty(String, String) - Method in class madkit.kernel.AbstractAgent
-
Set the MaDKit session property indicated by the specified key.
- setName(String) - Method in class madkit.kernel.AbstractAgent
-
Changes the agent's name
- setNextActivationDate(LocalDateTime) - Method in class madkit.simulation.activator.DateBasedDiscreteEventActivator
-
Sets the next date at which the activator will be triggered
- setNextActivationDate(LocalDateTime) - Method in class madkit.simulation.activator.DiscreteEventAgentsActivator
- setObject(Object) - Method in class madkit.message.ActMessage
- setOntology(String) - Method in class madkit.message.ACLMessage
- setOntology(String) - Method in class madkit.message.KQMLMessage
- setPerformative(String) - Method in class madkit.message.ACLMessage
- setPropertyValue(A, T) - Method in class madkit.simulation.probe.PropertyProbe
-
Should be used to work with primitive types or fields which are initially
null
- setPropertyValue(T) - Method in class madkit.simulation.probe.SingleAgentProbe
-
Should be used to work with primitive types or fields which are initially
null
- setProtocol(String) - Method in class madkit.message.ACLMessage
- setRendering(boolean) - Method in class madkit.simulation.viewer.SwingViewer
-
Enable or disable the rendering activity
- setRenderingInterval(int) - Method in class madkit.simulation.viewer.SwingViewer
-
Set the number of states between display updates.
- setReplyBy(String) - Method in class madkit.message.ACLMessage
- setReplyBy(Date) - Method in class madkit.message.ACLMessage
- setReplyWith(String) - Method in class madkit.message.ACLMessage
- setReplyWith(String) - Method in class madkit.message.KQMLMessage
- setSimulationDuration(double) - Method in class madkit.kernel.Scheduler
-
Deprecated.as of MDK 5.3, replaced by
AbstractAgent.getSimulationTime()
available methods - setSimulationState(Scheduler.SimulationState) - Method in class madkit.kernel.Scheduler
-
Changes the state of the scheduler
- setSize(int, int) - Method in class madkit.gui.AgentFrame
- setSynchronousPainting(boolean) - Method in class madkit.simulation.viewer.SwingViewer
-
Set the rendering mode to synchronous or asynchronous.
- setThreadPriority(int) - Method in class madkit.kernel.Agent
-
Changes the priority of the agent's thread.
- SETUP_AGENT_GUI - Enum constant in enum class madkit.action.GUIManagerAction
-
Requests an agent frame creation.
- setupFrame(AgentFrame) - Method in class madkit.gui.ConsoleAgent
- setupFrame(AgentFrame) - Method in class madkit.kernel.AbstractAgent
-
Called when the default GUI mechanism is used upon agent creation.
- setupFrame(AgentFrame) - Method in class madkit.kernel.Scheduler
-
Setup the default Scheduler GUI when launched with the default MaDKit GUI mechanism.
- setupFrame(AgentFrame) - Method in class madkit.simulation.viewer.SwingViewer
-
Provides a default implementation that assigns the default panel to the default frame
- setWarningLogLevel(Level) - Method in class madkit.kernel.AgentLogger
-
Deprecated.as of MaDKit 5.2, replaced by
AgentLogger.enableCGRWarnings()
- SEVERE - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned on special errors.
- severeLog(String) - Method in class madkit.kernel.AgentLogger
-
This call bypasses any settings and always produces severe log messages whatever the logger's current level.
- severeLog(String, Throwable) - Method in class madkit.kernel.AgentLogger
-
This call bypasses any settings and always produces severe log messages displaying the stack trace of the throwable if it is not
null
- SHUTDOWN - Enum constant in enum class madkit.action.SchedulingAction
- SHUTDOWN - Enum constant in enum class madkit.kernel.Scheduler.SimulationState
-
The simulation is ending
- SimulationException - Exception in madkit.simulation
- SimulationException(String, Throwable) - Constructor for exception madkit.simulation.SimulationException
- SingleAgentProbe<A extends AbstractAgent,
T> - Class in madkit.simulation.probe -
This probe inspects fields of type T on only one agent of type A and its subclasses.
- SingleAgentProbe(String, String, String, String) - Constructor for class madkit.simulation.probe.SingleAgentProbe
-
Builds a new SingleAgentProbe considering a CGR location and the name of the class's field.
- size() - Method in class madkit.kernel.Probe
-
Returns the number of the agents handling the group/role couple
- sort(List<M>) - Static method in class madkit.message.ObjectMessage
-
Sorts the specified list of messages into ascending order, according to the natural ordering of the content of each message.
- SPEED_DOWN - Enum constant in enum class madkit.action.SchedulingAction
- SPEED_UP - Enum constant in enum class madkit.action.SchedulingAction
- STEP - Enum constant in enum class madkit.action.SchedulingAction
- STEP - Enum constant in enum class madkit.kernel.Scheduler.SimulationState
-
The scheduler will process one simulation step and then will be in the
Scheduler.SimulationState.PAUSED
state. - STOP_NETWORK - Enum constant in enum class madkit.action.KernelAction
-
Stop the network
- strcontent - Variable in class madkit.message.XMLMessage
-
The xml content as a String (null if the content is defined as a Document)
- StringMessage - Class in madkit.message
-
A message class that conveys a string.
- StringMessage(String) - Constructor for class madkit.message.StringMessage
-
Builds a new message containing the string s
- SUBSCRIBE - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- SUBSCRIBE_STRING - Static variable in class madkit.message.ACLMessage
- SUCCESS - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
- SwingUtil - Class in madkit.gui
-
This class provides some utilities for building swing components.
- SwingViewer - Class in madkit.simulation.viewer
-
A very basic simulation viewer agent.
- SwingViewer() - Constructor for class madkit.simulation.viewer.SwingViewer
-
Creates a new agent with a default panel for rendering purposes
- SYSTEM - Static variable in class madkit.agr.LocalCommunity.Groups
-
The value of this constant is "system".
T
- talk(String) - Method in class madkit.kernel.AgentLogger
-
Logs a
AgentLogger.TALK
message. - TERMINATED - Enum constant in enum class madkit.i18n.Words
- TERMINATED - Enum constant in enum class madkit.kernel.AbstractAgent.State
-
The agent has finished its life cycle in the MaDKit platform.
- TICK_BASED_MODE_REQUIRED - Static variable in interface madkit.kernel.Scheduler.SimulationTime
- TIMEOUT - Enum constant in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returned by various timed primitives of the Agent class like
Agent.sendMessageAndWaitForReply(AgentAddress, Message)
orAbstractAgent.launchAgent(AbstractAgent, int, boolean)
- toString() - Method in class madkit.action.BooleanAction
- toString() - Method in class madkit.gui.AgentFrame
- toString() - Method in class madkit.gui.MASModel
- toString() - Method in enum class madkit.i18n.ErrorMessages
- toString() - Method in enum class madkit.i18n.Words
- toString() - Method in enum class madkit.kernel.AbstractAgent.ReturnCode
- toString() - Method in class madkit.kernel.AbstractAgent
- toString() - Method in class madkit.kernel.Activator
- toString() - Method in class madkit.kernel.AgentAddress
-
Returns a string representing this address.
- toString() - Method in class madkit.kernel.AgentLogger
- toString() - Method in class madkit.kernel.ConversationID
- toString() - Method in class madkit.kernel.KernelAddress
-
Returns a simplified string representation for this platform address
- toString() - Method in enum class madkit.kernel.Madkit.BooleanOption
-
Returns the constant's name prefixed by "
--
" so that it could interpreted as an option of the command line or inMadkit(String...)
. - toString() - Method in enum class madkit.kernel.Madkit.LevelOption
-
Returns the constant's name prefixed by "
--
" so that it could interpreted as an option of the command line or inMadkit(String...)
. - toString() - Method in enum class madkit.kernel.Madkit.Option
-
Returns the constant's name prefixed by "
--
" so that it could interpreted as an option of the command line or inMadkit(String...)
. - toString() - Method in class madkit.kernel.Madkit
- toString() - Method in class madkit.kernel.MadkitClassLoader
- toString() - Method in interface madkit.kernel.MadkitOption
-
Returns the string form of the option as it should be used in a command line, or with the
Madkit.main(String[])
method or withMadkit(String...)
constructor. - toString() - Method in class madkit.kernel.MadkitProperties
- toString() - Method in class madkit.kernel.Message
- toString() - Method in class madkit.kernel.Probe
-
returns a string containing the CGR location and the number of monitored agents.
- toString() - Method in class madkit.kernel.Watcher
- toString() - Method in class madkit.message.ACLMessage
- toString() - Method in class madkit.message.EnumMessage
- toString() - Method in class madkit.message.hook.AgentLifeEvent
- toString() - Method in class madkit.message.hook.CGREvent
- toString() - Method in class madkit.message.hook.MessageEvent
- toString() - Method in class madkit.message.KQMLMessage
- toString() - Method in class madkit.message.ObjectMessage
- toString() - Method in class madkit.message.XMLMessage
-
This method returns a string for the XML document set in this message.
- toString() - Method in class madkit.simulation.activator.DateBasedDiscreteEventActivator
- toString() - Method in class madkit.simulation.activator.DiscreteEventAgentsActivator
- toString() - Method in class madkit.simulation.probe.SingleAgentProbe
- TUTORIALS - Enum constant in enum class madkit.i18n.Words
U
- UIAction - Enum Class in madkit.action
-
Enum representing actions which could be used on MDK frames
- UNKNOWN - Static variable in class madkit.message.ACLMessage
-
constant identifying an unknown performative
- update() - Method in class madkit.gui.menu.ClassPathSensitiveMenu
-
Called by
ClassPathSensitiveMenu.updateAllMenus()
when the class path is modified. - update() - Method in class madkit.gui.menu.LaunchAgentsMenu
- update() - Method in class madkit.gui.menu.LaunchMain
- update() - Method in class madkit.gui.menu.LaunchMAS
- update() - Method in class madkit.gui.menu.LaunchMDKConfigurations
- update() - Method in class madkit.gui.menu.LaunchXMLConfigurations
- update(AbstractAgent) - Static method in class madkit.gui.menu.AgentLogLevelMenu
-
Update the menu of this agent
- updateAll() - Static method in class madkit.gui.AgentStatusPanel
- updateAllMenus() - Static method in class madkit.gui.menu.ClassPathSensitiveMenu
-
Called by the kernel when the class path is modified.
- UPDATER - Static variable in class madkit.agr.LocalCommunity.Roles
-
The value of this constant is "updater".
- useMulticore(int) - Method in class madkit.kernel.Activator
-
Sets the number of tasks which will be used on a multicore architecture.
V
- valueOf(String) - Static method in enum class madkit.action.AgentAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.action.GUIManagerAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.action.KernelAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.action.LoggingAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.action.SchedulingAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.action.UIAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.i18n.ErrorMessages
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.i18n.Words
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.kernel.AbstractAgent.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.kernel.Madkit.BooleanOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.kernel.Madkit.LevelOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.kernel.Madkit.Option
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.kernel.Scheduler.SimulationState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class madkit.message.hook.HookMessage.AgentActionEvent
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class madkit.action.AgentAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.action.GUIManagerAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.action.KernelAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.action.LoggingAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.action.SchedulingAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.action.UIAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.i18n.ErrorMessages
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.i18n.Words
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.kernel.AbstractAgent.ReturnCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.kernel.AbstractAgent.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.kernel.Madkit.BooleanOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.kernel.Madkit.LevelOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.kernel.Madkit.Option
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.kernel.Scheduler.SimulationState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class madkit.message.hook.HookMessage.AgentActionEvent
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERSION - Static variable in class madkit.kernel.Madkit
W
- waitAnswer(Message) - Method in class madkit.kernel.Agent
-
Retrieves and removes the next message that is a reply to the query message, waiting for ever if necessary until a matching reply becomes available.
- waitAnswer(Message, Integer) - Method in class madkit.kernel.Agent
-
Retrieves and removes the next message that is a reply to the query message, waiting for ever if necessary until a matching reply becomes available.
- waitNextMessage() - Method in class madkit.kernel.Agent
-
This method is the blocking version of nextMessage().
- waitNextMessage(long) - Method in class madkit.kernel.Agent
-
This method gets the next message of the mailbox or waits for a new incoming message considering a certain delay.
- waitNextMessage(Integer, MessageFilter) - Method in class madkit.kernel.Agent
-
This method gets the next message of the mailbox or waits for a new incoming acceptable message up to a certain delay.
- waitNextMessage(MessageFilter) - Method in class madkit.kernel.Agent
-
Retrieves and removes the next message that complies with the filter, waiting for ever if necessary until a matching message becomes available.
- warningLogLevel - Enum constant in enum class madkit.kernel.Madkit.LevelOption
-
Deprecated.as of MaDKit 5.2, replaced by
AgentLogger.enableCGRWarnings()
- Watcher - Class in madkit.kernel
-
This class defines a generic watcher agent.
- Watcher() - Constructor for class madkit.kernel.Watcher
- WEB - Static variable in class madkit.kernel.Madkit
- Words - Enum Class in madkit.i18n
-
Enum containing key for some useful words
- writeToTextArea(String) - Method in class madkit.gui.OutputPanel
X
- XMLMessage - Class in madkit.message
-
A message that carries an XML document.
- XMLMessage(String) - Constructor for class madkit.message.XMLMessage
-
Setup an XMLMessage with the xml document setup as a string.
- XMLMessage(Document) - Constructor for class madkit.message.XMLMessage
-
Setup an XMLMessage with the xml document setup as a Document
- XMLUtilities - Class in madkit.util
-
XML shortcuts as static methods
- XMLUtilities() - Constructor for class madkit.util.XMLUtilities
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
AbstractAgent.getSimulationTime()