- AbstractAgent - Class in madkit.kernel
-
The super class of all MaDKit agents, v 5.
- AbstractAgent() - Constructor for class madkit.kernel.AbstractAgent
-
- AbstractAgent.ReturnCode - Enum in madkit.kernel
-
This class enumerates all the return codes which could be obtained with
essential methods of the
AbstractAgent
and
Agent
classes.
- AbstractAgent.State - Enum 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 class madkit.gui.menu.AgentClassFilter
-
- 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
-
- ACLMessage - Class in madkit.message
-
This class describes an ACL message.
- ACLMessage() - Constructor for class madkit.message.ACLMessage
-
Default constructor for ACLMessage class
- 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
- ACLMessage(int, String) - Constructor for class madkit.message.ACLMessage
-
- 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.
- 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
-
- 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, String) - Constructor for class madkit.message.ActMessage
-
- ActMessage(String, Object) - 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 kernel engine.
- addBooleanActionTo(Container, Action) - Static method in class madkit.gui.SwingUtil
-
- addHandler(Handler) - Method in class madkit.kernel.AgentLogger
-
- adding(A) - Method in class madkit.simulation.probe.SingleAgentProbe
-
- addMaDKitActionsTo(Container, AbstractAgent) - Static method in class madkit.gui.SwingUtil
-
- 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(boolean) - Constructor for class madkit.kernel.Agent
-
- Agent() - 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_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
- AgentAction - Enum in madkit.action
-
Enum representing agent actions
- AgentAddress - Class in madkit.kernel
-
Identifies an agent within the artificial society.
- AgentClassFilter - Class in madkit.gui.menu
-
- AgentClassFilter() - Constructor for class madkit.gui.menu.AgentClassFilter
-
- 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.
- AgentLifeEvent - Class in madkit.message.hook
-
- 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.
- 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
-
- allowAgentToTakeRole(String, String, Object) - Method in interface madkit.kernel.Gatekeeper
-
- allProbes() - Method in class madkit.kernel.Watcher
-
- ATTRIBUTES - Static variable in class madkit.util.XMLUtilities
-
The name of the child node of
XMLUtilities.AGENT
containing
attributes that have to be set on the agent: "Attributes"
- CANCEL - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- CANCEL_STRING - Static variable in class madkit.message.ACLMessage
-
- CFP - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- CFP_STRING - Static variable in class madkit.message.ACLMessage
-
- CGREvent - Class in madkit.message.hook
-
Root class of messages which are sent to agents that have requested hooks to the kernel
- 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.
- CloudCommunity - Class in madkit.agr
-
Defines the default groups and roles used for networking.
- CloudCommunity() - Constructor for class madkit.agr.CloudCommunity
-
- CloudCommunity.Groups - Class in madkit.agr
-
Default groups in the Cloud community.
- CloudCommunity.Groups() - Constructor for class madkit.agr.CloudCommunity.Groups
-
- CloudCommunity.Roles - Class in madkit.agr
-
Default roles in the Cloud community.
- CloudCommunity.Roles() - Constructor for class madkit.agr.CloudCommunity.Roles
-
- 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.
- CONFIRM - Static variable in class madkit.message.ACLMessage
-
constant identifying the FIPA performative
- CONFIRM_STRING - Static variable in class madkit.message.ACLMessage
-
- 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.
- createAgentFrame(AbstractAgent) - Static method in class madkit.gui.AgentFrame
-
Override to customize the agent frame that should be created
by the GUI engine.
- 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
-
- createJToolBar() - Method in class madkit.gui.AgentFrame
-
Builds the tool bar that will be used.
- createLogFile() - Method in class madkit.kernel.AgentLogger
-
Creates a log file for this logger.
- 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(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
- createSliderPanel(BoundedRangeModel, String) - Static method in class madkit.gui.SwingUtil
-
- 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.
- getAct() - Method in class madkit.message.ACLMessage
-
- getAction() - Method in class madkit.message.ActMessage
-
- getActionFor(AbstractAgent, Object...) - Method in enum madkit.action.AgentAction
-
Builds an action that will make the agent do the
corresponding behavior
- getActionFor(AbstractAgent, Object...) - Method in enum madkit.action.GUIManagerAction
-
Returns an Action that will send to the GUI manager
the corresponding request.
- getActionFor(AbstractAgent, Object...) - Method in enum madkit.action.KernelAction
-
Builds an action that will make the kernel do the
corresponding operation if possible.
- getActionFor(Scheduler, Object...) - Method in enum madkit.action.SchedulingAction
-
Builds an action that will make the corresponding
scheduler do the related operation if possible.
- getActionInfo() - Method in enum madkit.action.AgentAction
-
- getActionInfo() - Method in enum madkit.action.GUIManagerAction
-
- getActionInfo() - Method in enum madkit.action.KernelAction
-
- getActionInfo() - Method in enum madkit.action.SchedulingAction
-
- 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.
- 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
-
- 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 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.
- getEncoding() - Method in class madkit.message.ACLMessage
-
- 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
-
- getGroup() - Method in class madkit.kernel.AgentAddress
-
Returns the group to which this agent address is binded to.
- getGVT() - Method in class madkit.kernel.Scheduler
-
Returns the simulation global virtual time.
- getGVTLabel() - Method in class madkit.kernel.Scheduler
-
Returns a label giving the simulation time
- getInputStream(String) - Static method in class madkit.util.MadkitProperties
-
Return an InputStream
on a file.
- 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.
- 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(String) - Method in class madkit.kernel.AbstractAgent
-
Gets the MaDKit session property indicated by the specified key.
- getMadkitProperty(E) - Method in class madkit.kernel.AbstractAgent
-
Shortcut for getMadkitProperty(option.name())
.
- 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
-
- 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
-
- 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.
- getOutputStream() - Method in class madkit.gui.OutputPanel
-
returns the output stream to which log messages will
be forwarded to.
- 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
-
- 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(A) - Method in class madkit.simulation.probe.PropertyProbe
-
Returns the current value of the agent's field
- getPropertyValue() - Method in class madkit.simulation.probe.SingleAgentProbe
-
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.
- 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
-
- 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
-
- getSimulationState() - Method in class madkit.kernel.Scheduler
-
The state of the simualtion.
- 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(AbstractAgent) - Method in class madkit.gui.MDKDesktopFrame
-
Builds tool bar for the desktop frame.
- getToolBar() - Method in class madkit.simulation.viewer.SwingViewer
-
Returns the viewer's toolbar.
- getWarningLogLevel() - Method in class madkit.kernel.AgentLogger
-
Returns the log level above which MaDKit warnings are displayed
for the corresponding agent.
- 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.
- GlobalAction() - Constructor for class madkit.action.GlobalAction
-
- GROUP_CANDIDATE_ROLE - Static variable in interface madkit.agr.Organization
-
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 interface madkit.agr.Organization
-
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
-
- GUI - Static variable in class madkit.util.XMLUtilities
-
Valid attribute of an agent node : "GUI" in a MDK xml config file
- GUIManagerAction - Enum 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
-
- 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_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.
- launchAgent(AbstractAgent) - 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, boolean) - 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 when
timeOutSeconds
seconds elapsed.
- launchAgent(String) - 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, boolean) - 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.
- 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>, 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.
- launchAgentBucket(List<? extends AbstractAgent>, int, String...) - Method in class madkit.kernel.AbstractAgent
-
- 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.
- 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.
- 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 the jars present in a directory
- loadPropertiesFromFile(String) - Method in class madkit.util.MadkitProperties
-
Loads properties from a properties file (classic or XML).
- loadPropertiesFromMaDKitXML(String) - Method in class madkit.util.MadkitProperties
-
Loads properties from an XML file.
- loadPropertiesFromPropertiesFile(String) - Method in class madkit.util.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
-
- LocalCommunity() - Constructor for class madkit.agr.LocalCommunity
-
- LocalCommunity.Groups - Class in madkit.agr
-
- LocalCommunity.Groups() - Constructor for class madkit.agr.LocalCommunity.Groups
-
- LocalCommunity.Roles - Class in madkit.agr
-
Default roles within a MaDKit organization.
- LocalCommunity.Roles() - Constructor for class madkit.agr.LocalCommunity.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 - 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"
- logger - Variable in class madkit.kernel.AbstractAgent
-
logger
should be used to print messages and trace the agent's life cycle.
- 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.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 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 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 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.viewer - package madkit.simulation.viewer
-
Contains default viewer classes for simulation visualization.
- madkit.util - package madkit.util
-
Contains some utilities for working with MaDKit.
- 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"
- MadkitClassLoader - Class in madkit.kernel
-
The MadkitClassLoader is the class loader used by MaDKit.
- MadkitMenu - Class in madkit.gui.menu
-
An out of the box menu for MaDKit applications
- MadkitMenu(AbstractAgent) - Constructor for class madkit.gui.menu.MadkitMenu
-
- MadkitOption - Interface in madkit.kernel
-
Every regular MaDKit Options implements this interface.
- MadkitProperties - Class in madkit.util
-
The properties object used within MaDKit.
- MadkitProperties() - Constructor for class madkit.util.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
-
- 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.
- 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 with
ActionInfo
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
-
- 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.
- 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.
- 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 kernel 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.simulation.probe.SingleAgentProbe
-
- 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_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.
- 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
-
This class defines a generic threaded scheduler agent.
- Scheduler() - Constructor for class madkit.kernel.Scheduler
-
This constructor is equivalent to Scheduler(Double.MAX_VALUE)
- Scheduler(double) - Constructor for class madkit.kernel.Scheduler
-
Constructor specifying the time at which the simulation ends.
- Scheduler.SimulationState - Enum in madkit.kernel
-
A simulation state.
- SchedulingAction - Enum 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
-
- 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(AgentAddress, Message) - Method in class madkit.kernel.AbstractAgent
-
Sends a message to an agent using an agent address.
- 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.
- 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.
- 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.
- 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.
- sendMessageWithRole(String, String, String, Message, String) - Method in class madkit.kernel.AbstractAgent
-
Sends a message to an agent having this position in the organization.
- 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.
- 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.
- 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.
- 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.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
-
- 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
-
- 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
-
Sets the simulation global virtual time.
- 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
-
Sets the agent's log level.
- setMadkitProperty(String, String) - Method in class madkit.kernel.AbstractAgent
-
Set the MaDKit session property indicated by the specified key.
- setMadkitProperty(E, String) - Method in class madkit.kernel.AbstractAgent
-
Set the MaDKit session property indicated by the specified
constant representing a MaDKit option.
- setName(String) - Method in class madkit.kernel.AbstractAgent
-
Changes the agent's name
- 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
-
Sets the simulation time for which the
scheduler should end the simulation.
- setSimulationState(Scheduler.SimulationState) - Method in class madkit.kernel.Scheduler
-
Changes the state of the scheduler
- 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.
- setupFrame(JFrame) - Method in class madkit.gui.ConsoleAgent
-
- setupFrame(JFrame) - Method in class madkit.kernel.AbstractAgent
-
Called when the default GUI mechanism is used upon agent creation.
- setupFrame(JFrame) - Method in class madkit.kernel.Scheduler
-
Setup the default Scheduler GUI when launched with the default MaDKit GUI
mechanism.
- setupFrame(JFrame) - 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
-
Sets the agent's log level above which MaDKit warnings are displayed
- severeLog(String, Throwable) - Method in class madkit.kernel.AgentLogger
-
This call bypasses any settings and always produces severe log
messages which display the stack trace of the throwable if it is
not null
- severeLog(String) - Method in class madkit.kernel.AgentLogger
-
This call bypasses any settings and always produces severe log
messages.
- SimulationException - Exception in madkit.simulation
-
This unchecked exception could be used by activators and probes to
indicate and propagate the exception thrown by an agent
during the use of an
Activator
or
Probe
.
- 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.
- 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.
- 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
-
- SwingUtil - Class in madkit.gui
-
This class provides some utilities for building
swing components.
- SwingUtil() - Constructor for class madkit.gui.SwingUtil
-
- 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".
- valueOf(String) - Static method in enum madkit.action.AgentAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum madkit.action.GUIManagerAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum madkit.action.KernelAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum madkit.action.SchedulingAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum madkit.i18n.ErrorMessages
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum madkit.i18n.Words
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum madkit.kernel.AbstractAgent.ReturnCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum madkit.kernel.AbstractAgent.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum madkit.kernel.Madkit.BooleanOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum madkit.kernel.Madkit.LevelOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum madkit.kernel.Madkit.Option
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum madkit.kernel.Scheduler.SimulationState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum madkit.message.hook.HookMessage.AgentActionEvent
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum madkit.action.AgentAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum madkit.action.GUIManagerAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum madkit.action.KernelAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum madkit.action.SchedulingAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum madkit.i18n.ErrorMessages
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum madkit.i18n.Words
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum madkit.kernel.AbstractAgent.ReturnCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum madkit.kernel.AbstractAgent.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum madkit.kernel.Madkit.BooleanOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum madkit.kernel.Madkit.LevelOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum madkit.kernel.Madkit.Option
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum madkit.kernel.Scheduler.SimulationState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum madkit.message.hook.HookMessage.AgentActionEvent
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VERSION - Static variable in class madkit.kernel.Madkit
-