Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ABOUT - Enum constant in enum class madkit.i18n.Words
Represents the keyword "ABOUT".
accept(Message) - Method in interface madkit.messages.MessageFilter
Tests if a specified message matches the requirement.
accept(Message) - Method in class madkit.messages.SenderRoleFilter
Tests whether or not the specified message should be accepted.
ACCESS_DENIED - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Returned when requesting a role in a secured group fails
ActionData - Class in madkit.action
Represents the data associated with an action, including descriptions, icons, and keyboard shortcuts.
ActionData(String, int) - Constructor for class madkit.action.ActionData
Constructs a new ActionData with the specified code name and key event, using the default resource bundle.
ActionData(String, int, ResourceBundle) - Constructor for class madkit.action.ActionData
Constructs a new ActionData with the specified code name, key event, and resource bundle.
ActionFromEnum - Class in madkit.gui
Defines an action for JavaFX.
ActionFromEnum(ActionData, Consumer<ActionEvent>) - Constructor for class madkit.gui.ActionFromEnum
Builds a new action using ActionData for the action information.
Actions - Class in madkit.action
Utility class for creating Action for agents.
ActionWithData - Class in madkit.action
An Action which properties could be set using an ActionData.
ActionWithData(String, Consumer<ActionEvent>) - Constructor for class madkit.action.ActionWithData
Builds a new action using the given event handler.
activate() - Method in class madkit.kernel.Agent
Deprecated, for removal: This API element is subject to removal in a future version.
activationList - Variable in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
The priority queue that holds the simulated agents based on their next event date.
Activator - Class in madkit.kernel
This class defines a tool for scheduling mechanism.
Activator(String, String) - Constructor for class madkit.kernel.Activator
Builds a new Activator on the given CGR location of the artificial society, without specifying the community.
Activator(String, String, String) - Constructor for class madkit.kernel.Activator
Builds a new Activator on the given CGR location of the artificial society.
addActivator(Activator) - Method in class madkit.kernel.Scheduler
Adds an activator to the simulation engine.
addActivator(Activator) - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
Adds an activator to the scheduler.
addData(K, String, Number) - Method in class madkit.simulation.viewer.LineChartDrawer
Adds a new data point to the serie identified by the key.
addDeltaTime(BigDecimal) - Method in class madkit.simulation.scheduler.TickBasedTimer
Adds the specified delta time to the current tick.
addEnvironmentActivator() - Method in class madkit.kernel.Scheduler
Adds the default activator for environment and returns it.
addOneTimeUnit() - Method in class madkit.simulation.scheduler.DateBasedTimer
Adds one time unit to the current date using the default unit.
addOneTimeUnit() - Method in class madkit.simulation.scheduler.TickBasedTimer
Adds one time unit to the current tick.
addProbe(Probe) - Method in class madkit.kernel.Watcher
Adds the probe to the artificial organization so that it starts to probe the agents which belong to the group and play the role defined in the probe.
addPropertiesFromFields(Object) - Method in class madkit.kernel.KernelConfig
Adds properties to the configuration from the fields of the specified object.
addRoleToMonitoring(String, String) - Method in class madkit.simulation.viewer.RolesPopulationLineChartDrawer
Adds a role to the monitoring
addSerie(K, String) - Method in class madkit.simulation.viewer.LineChartDrawer
Adds a new serie to the line chart.
addViewersActivator() - Method in class madkit.kernel.Scheduler
Adds the default activator for viewers and returns it.
Agent - Class in madkit.kernel
The super class of all MaDKit agents.
Agent() - Constructor for class madkit.kernel.Agent
Constructs a new Agent instance.
AGENT_CRASH - Enum constant in enum class madkit.kernel.Agent.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
The agent started.
AGENT_TERMINATED - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
The agent terminated.
Agent.ReturnCode - Enum Class in madkit.kernel
This class enumerates all the return codes which could be obtained with essential methods of the Agent and Agent classes.
AgentAction - Enum Class in madkit.action
This enumeration contains common agent actions that they can perform.
AgentAddress - Class in madkit.kernel
This class represents an address an agent can have within the artificial society.
agentAddresses - Variable in class madkit.kernel.Role
The agent addresses.
AgentFileFormatter - Class in madkit.logging
This class extends the AgentFormatter to provide a specific file formatter for agents.
AgentFileFormatter() - Constructor for class madkit.logging.AgentFileFormatter
 
AgentFormatter - Class in madkit.logging
This class extends the Formatter class to provide a custom log formatter for agents.
AgentFormatter() - Constructor for class madkit.logging.AgentFormatter
 
AgentInterruptedException - Exception Class in madkit.kernel
This exception is thrown when an agent is interrupted by an InterruptedException while executing a task which is able to react to this exception.
AgentInterruptedException() - Constructor for exception class madkit.kernel.AgentInterruptedException
 
AgentLifeEvent - Class in madkit.message.hook
A message which is sent to agents that have requested a hook on HookMessage.AgentActionEvent.AGENT_STARTED or HookMessage.AgentActionEvent.AGENT_TERMINATED
AgentLifeEvent(HookMessage.AgentActionEvent, Agent) - Constructor for class madkit.message.hook.AgentLifeEvent
 
AgentLogArea - Class in madkit.gui
This class provides a text area for displaying the log of an agent.
AgentLogArea(Agent) - Constructor for class madkit.gui.AgentLogArea
Constructs a text area for displaying the log of the specified
AgentLogger - Class in madkit.kernel
This class defines a Logger specialized for MaDKit agents.
AgentMenuToolbar - Class in madkit.gui
A JavaFX VBox that contains a default menu bar for an agent.
AgentMenuToolbar(Agent) - Constructor for class madkit.gui.AgentMenuToolbar
Instantiates a new agent menu toolBar using the Menus.createMenuBarFor(Agent) method.}
AgentMethodAction - Class in madkit.action
An Action that directly calls the Agent.handleRequestActionMessage(RequestActionMessage) method of an agent when triggered.
AgentMethodAction(Agent, String, Object...) - Constructor for class madkit.action.AgentMethodAction
Creates a new AgentMethodAction that will call the given method of the given agent when triggered.
AgentRuntimeException - Exception Class in madkit.kernel
This Exception is thrown when an agent runtime error occurs.
AgentRuntimeException(String) - Constructor for exception class madkit.kernel.AgentRuntimeException
Constructs an AgentRuntimeException with the specified detail message.
AgentRuntimeException(String, Throwable) - Constructor for exception class madkit.kernel.AgentRuntimeException
Constructs an AgentRuntimeException with the specified detail message and cause.
allAgentsLeaveRole() - Method in class madkit.kernel.Activator
Makes all the agents leave the corresponding role at once.
allAgentsLeaveRole() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Makes all the agents leave the corresponding role at once.
allAgentsLeaveRole() - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Makes all the agents leave the corresponding role at once.
allAgentsLeaveRole() - Method in class madkit.simulation.scheduler.MethodActivator
Makes all the agents leave the corresponding role at once.
allAgentsLeaveRole() - Method in class madkit.kernel.Probe
Makes all the agents leave the corresponding role at once.
allAgentsLeaveRole() - Method in class madkit.simulation.PropertyProbe
Makes all the agents leave the corresponding role at once.
allowAgentToTakeRole(String, String, Object) - Method in interface madkit.kernel.Gatekeeper
This method is called to check if an agent is allowed to play a role in a group associated with this Gatekeeper.
ALREADY_GROUP - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Returned when using Agent.createGroup(String, String, boolean, Gatekeeper) and that a group already exists
ALREADY_KILLED - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Returned by kill primitives when the targeted agent is already terminated
ALREADY_LAUNCHED - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Returned when launching an agent which is already launched
anyMessageWithMaxContent(Collection<M>) - Static method in class madkit.messages.Messages
Returns any message containing the maximum element of the given collection, according to the natural ordering of the elements contained in the message.
anyMessageWithMinContent(Collection<M>) - Static method in class madkit.messages.Messages
Returns any message containing the minimum element of the given collection, according to the natural ordering of the elements contained in the message.
averageOnContent(Collection<M>) - Static method in class madkit.messages.Messages
Calculates the average of the contents of the given collection of messages.

B

BooleanMessage - Class in madkit.messages
A message class that conveys a boolean value.
BooleanMessage(Boolean) - Constructor for class madkit.messages.BooleanMessage
Builds a new message containing the boolean b
broadcast(Message, List<AgentAddress>) - Method in class madkit.kernel.Agent
Broadcasts a message to every agent having a role in a group in a community using a specific role for the sender.
BROADCAST_MESSAGE - Enum constant in enum class madkit.action.AgentAction
Action to broadcast a message.
BROADCAST_MESSAGE - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
The broadcast message.
broadcastWithRole(Message, List<AgentAddress>, String) - Method in class madkit.kernel.Agent
Broadcasts a message to every agent having a role in a group in a community using a specific role for the sender.
broadcastWithRoleWaitForReplies(Message, List<AgentAddress>, String, Integer) - Method in class madkit.kernel.Agent
Broadcasts a message and wait for answers considering a timeout duration.

C

C_NULL - Enum constant in enum class madkit.i18n.ErrorMessages
Indicates that community is null.
CANT_CONNECT - Enum constant in enum class madkit.i18n.ErrorMessages
Indicates that a connection cannot be established.
CANT_LAUNCH - Enum constant in enum class madkit.i18n.ErrorMessages
Indicates that the agent cannot be launched.
CANT_REPLY - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Returned when an agent tries to reply to a message which has not been received from another agent, e.g.
CanvasDrawerGUI - Class in madkit.simulation.viewer
CanvasDrawerGUI extends ViewerDefaultGUI so that a canvas is used for rendering the simulation.
CanvasDrawerGUI(Viewer) - Constructor for class madkit.simulation.viewer.CanvasDrawerGUI
Creates a new CanvasDrawerGUI with the specified viewer.
category() - Element in annotation interface madkit.gui.SliderProperty
Specifies the category of the parameter.
category() - Element in annotation interface madkit.gui.UIProperty
Specifies the category of the parameter.
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.Agent
Checks if this agent address is still valid.
clearCanvas() - Method in class madkit.simulation.viewer.CanvasDrawerGUI
Clears the canvas by filling it with the background color.
clearOutput() - Method in class madkit.gui.FXOutputPane
Remove all the text contained in the text area
clone() - Method in class madkit.kernel.Message
Returns a shallow copy of the message.
close() - Method in class madkit.kernel.FXAgentStage
close() - Method in class madkit.logging.TextAreaHandler
Closes the handler and releases any associated resources.
Community - Class in madkit.kernel
This class represents a community within the MaDKit kernel.
COMMUNITY - Enum constant in enum class madkit.i18n.Words
Represents the keyword "COMMUNITY".
compareTo(Activator) - Method in class madkit.kernel.Activator
Implementing the Comparable interface for sorting activators according to their priority.
compareTo(Activator) - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Defines an ordering so that the scheduler can classify activators according to their date and priority.
contains(Agent) - Method in class madkit.kernel.Group
Checks if the agent is in this group.
contains(Agent) - Method in class madkit.kernel.Role
Returns true if the agent is playing this role
ConversationFilter - Class in madkit.messages
A filter that selects messages based on their conversation ID.
ConversationFilter(Message) - Constructor for class madkit.messages.ConversationFilter
a 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.
convertArgToTypes(Object[]) - Static method in class madkit.reflection.ReflectionUtils
Converts the primitive types in the array to their corresponding wrapper classes.
COPY - Enum constant in enum class madkit.action.KernelAction
Clone the MaDKit session with its initial options
CREATE_GROUP - Enum constant in enum class madkit.action.AgentAction
Action to create a group.
CREATE_GROUP - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
The create group.
createActionGroup(Scheduler<?>) - Static method in enum class madkit.action.SchedulingAction
Creates an action group for the given Scheduler agent.
createAgentActionGroupFor(Agent) - Static method in class madkit.action.Actions
Creates an action group for the given agent.
createAgentFxActionGroup(Agent) - Static method in enum class madkit.action.AgentAction
Creates an action group for the given agent.
createBottomNode() - Method in class madkit.gui.DefaultAgentGUI
Creates the bottom node of the GUI.
createBottomNode() - Method in class madkit.simulation.viewer.ViewerDefaultGUI
Creates the bottom node.
createCenterNode() - Method in class madkit.gui.DefaultAgentGUI
Creates the center node of the GUI.
createCenterNode() - Method in class madkit.simulation.viewer.CanvasDrawerGUI
Creates the central node of the GUI.
createCenterNode() - Method in class madkit.simulation.viewer.ViewerDefaultGUI
Creates the central node of the viewer agent.
CREATED - Enum constant in enum class madkit.i18n.Words
Represents the keyword "CREATED".
createGroup(String, String) - Method in class madkit.kernel.Agent
Creates a new Group within a community.
createGroup(String, String, boolean) - Method in class madkit.kernel.Agent
Creates a new Group within a community.
createGroup(String, String, boolean, Gatekeeper) - Method in class madkit.kernel.Agent
Creates a new Group within a community.
createLeftNode() - Method in class madkit.gui.DefaultAgentGUI
Creates the left node of the GUI.
createLogFile() - Method in class madkit.kernel.AgentLogger
This has the same effect as AgentLogger.createLogFile(String, Path, boolean, boolean) (null, null, true, true).
createLogFile(String) - Method in class madkit.kernel.AgentLogger
This has the same effect as AgentLogger.createLogFile(String, Path, boolean, boolean) (fileName, null, true, true).
createLogFile(String, Path) - Method in class madkit.kernel.AgentLogger
This has the same effect as AgentLogger.createLogFile(String, Path, boolean, boolean) (logDirectory, fileName, true, true).
createLogFile(String, Path, boolean) - Method in class madkit.kernel.AgentLogger
This has the same effect as AgentLogger.createLogFile(String, Path, boolean, boolean) (logDirectory, fileName, append, true).
createLogFile(String, Path, boolean, boolean) - Method in class madkit.kernel.AgentLogger
Creates a log file for this logger.
createMadkitActionGroupFor(Agent) - Static method in class madkit.action.Actions
Creates an MaDKit actions group for the given agent.
createMDKActionsListFor(Agent) - Static method in class madkit.action.Actions
Creates an action group for the given agent.
createMenuBarFor(Agent) - Static method in class madkit.gui.Menus
Creates a menu bar for the given agent.
createRightNode() - Method in class madkit.gui.DefaultAgentGUI
Creates the right node of the GUI.
createRightNode() - Method in class madkit.simulation.viewer.ViewerDefaultGUI
Returns the VBox that will positioned on the right part of the main pane, which is a BorderPane.
createSchedulerActionGroup(Scheduler<?>) - Static method in class madkit.action.Actions
Creates an action group for the given scheduler agent.
createSimuGroup(String) - Method in class madkit.simulation.SimuAgent
Deprecated, for removal: This API element is subject to removal in a future version.
createToolBar() - Method in class madkit.gui.DefaultAgentGUI
Creates a toolbar.
createToolBar() - Method in class madkit.simulation.viewer.ViewerDefaultGUI
Creates a toolbar for the viewer agent.
createToolBarFor(Agent) - Static method in class madkit.gui.ToolBars
Creates a tool bar for the given agent.
createTopNode() - Method in class madkit.gui.DefaultAgentGUI
Creates the top node of the GUI.
createTopNode() - Method in class madkit.simulation.viewer.CanvasDrawerGUI
Creates the top node of the GUI.
createTopNode() - Method in class madkit.simulation.viewer.ViewerDefaultGUI
Creates the top node of the viewer agent.

D

DaemonAgent - Interface in madkit.kernel
A Daemon Agent will automatically stop when no other active thread is running in the system.
DateBasedDiscreteEventActivator - Class in madkit.simulation.scheduler
A behavior activator that is designed to work with a DateBasedDiscreteEventScheduler, that is following a discrete-event simulation scheme.
DateBasedDiscreteEventActivator(String, String, String) - Constructor for class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Constructs a new DateBasedDiscreteEventActivator with the specified group, role, and behavior to activate.
DateBasedDiscreteEventScheduler - Class in madkit.simulation.scheduler
This class defines a scheduler for discrete event simulation.
DateBasedDiscreteEventScheduler() - Constructor for class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
Constructs a new scheduler with a DateBasedTimer as simulation time.
DateBasedTimer - Class in madkit.simulation.scheduler
This class encapsulates the time of the simulation.
DateBasedTimer() - Constructor for class madkit.simulation.scheduler.DateBasedTimer
Creates a date-based time which value is LocalDateTime.of(1, 1, 1, 0, 0);
DateBasedTimer(LocalDateTime) - Constructor for class madkit.simulation.scheduler.DateBasedTimer
Creates a date-based instance using a specific LocalDateTime as starting point.
DateBasedTimer(LocalDateTime, LocalDateTime) - Constructor for class madkit.simulation.scheduler.DateBasedTimer
Creates a date-based instance using a specific LocalDateTime as starting point.
DEFAULT_LOG_DIRECTORY - Static variable in class madkit.kernel.AgentLogger
The Constant DEFAULT_LOG_DIRECTORY.
DefaultAgentGUI - Class in madkit.gui
This class provides a default GUI for an agent using JavaFX.
DefaultAgentGUI(Agent) - Constructor for class madkit.gui.DefaultAgentGUI
Constructs a default GUI for the specified agent.
DIRECTORY - Enum constant in enum class madkit.i18n.Words
Represents the keyword "DIRECTORY".
DiscreteEventAgentsActivator - Class in madkit.simulation.scheduler
An activator that works using a discrete-event simulation scheme.
DiscreteEventAgentsActivator(String, String, String) - Constructor for class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Constructs a new DiscreteEventAgentsActivator with the specified group, role, and behavior to activate.
display() - Method in class madkit.simulation.Viewer
When using the default simulation engine setup, this method is automatically called by the scheduler agent when it is time to render the simulation state.
display() - Method in class madkit.simulation.viewer.RolesPopulationLineChartDrawer
The display method called by the simulation engine.
DISPLAY - Enum constant in enum class madkit.i18n.Words
Represents the keyword "DISPLAY".
displayName() - Element in annotation interface madkit.gui.SliderProperty
Specifies the display name for this slider.
displayName() - Element in annotation interface madkit.gui.UIProperty
Specifies the display name of the parameter.
doAction() - Method in class madkit.action.ActionData
Performs the action.
doSimulationStep() - Method in class madkit.kernel.Scheduler
Defines a simulation step.
doSimulationStep() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
 
doSimulationStep() - Method in class madkit.simulation.scheduler.TickBasedScheduler
Adds one time unit to the current time

E

end() - Method in class madkit.kernel.Agent
Deprecated, for removal: This API element is subject to removal in a future version.
Use Agent.onEnd() instead.
ENGINE_GROUP - Static variable in class madkit.simulation.SimuOrganization
The value of this constant is "ENGINE".
EngineAgents - Annotation Interface in madkit.simulation
Annotation to specify the engine agents of a simulation.
ENTERING - Enum constant in enum class madkit.i18n.Words
Represents the keyword "ENTERING".
EnumMessage<E> - Class in madkit.messages
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.messages.EnumMessage
Builds a message with the specified content
enumToMethodName(E) - Static method in class madkit.reflection.ReflectionUtils
Converts the name of an enum object to a Java standardized method name.
environment() - Element in annotation interface madkit.simulation.EngineAgents
The environment class of the simulation.
ENVIRONMENT_ROLE - Static variable in class madkit.simulation.SimuOrganization
The value of this constant is "ENV".
Environment2D - Class in madkit.simulation.environment
A 2D environment for simulations.
Environment2D() - Constructor for class madkit.simulation.environment.Environment2D
Constructs an Environment2D with default dimensions (600x600).
Environment2D(int, int) - Constructor for class madkit.simulation.environment.Environment2D
Constructs an Environment2D with the specified width and height.
equals(Object) - Method in class madkit.kernel.AgentAddress
Tells if another address is the same.
equals(Object) - Method in class madkit.kernel.ConversationID
Tests if this conversation ID is equal to another.
equals(Object) - Method in class madkit.kernel.KernelAddress
Tells if another kernel address is the same.
ErrorMessages - Enum Class in madkit.i18n
Enum representing various error messages used in the application.
execute(Object...) - Method in class madkit.kernel.Activator
Trigger the execution of this activator.
execute(Object...) - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Executes the behavior of the activator and updates the next activation date.
execute(Object...) - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Executes the behavior of the next agent in the activation list.
execute(Object...) - Method in class madkit.simulation.scheduler.MethodActivator
Executes the behavior on the agents.
execute(List<? extends Agent>, Object...) - Method in class madkit.simulation.scheduler.MethodActivator
Executes the behavior on the given list of agents.
executeAndLog(Activator, Object...) - Method in class madkit.kernel.Scheduler
Triggers the execute method of this activator and logs it using the Level.FINER logging level.
executeBehaviorOf(Agent, String, Object...) - Static method in class madkit.kernel.Activator
Executes a specific method on a targeted agent.
executeInParallel(List<? extends Agent>, Object...) - Method in class madkit.simulation.scheduler.MethodActivator
Executes the behavior on the given list of agents in parallel.
executeThisAgent(int, String...) - Static method in class madkit.kernel.Agent
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.Agent
This offers a convenient way to create a main method that launches the agent class under development.
exists() - Method in class madkit.kernel.Community
Checks if the community exists (i.e., has any groups).
exists() - Method in class madkit.kernel.Group
Checks if the group actually exists.
exists() - Method in class madkit.kernel.Role
Returns true if the role is not empty
EXIT - Enum constant in enum class madkit.action.KernelAction
Close this MaDKit session
EXITING - Enum constant in enum class madkit.i18n.Words
Represents the keyword "EXITING".
exitOnKill() - Method in class madkit.kernel.Agent
Checks if the current agent's thread has been interrupted, for instance, due to a kill attempt.

F

FAILED - Enum constant in enum class madkit.i18n.ErrorMessages
Indicates a general failure.
FAILED - Enum constant in enum class madkit.i18n.Words
Represents the keyword "FAILED".
findFieldOn(Class<?>, 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
findMethodHandle(Class<?>, String, Class<?>...) - Static method in class madkit.reflection.MethodHandleFinder
Returns a MethodHandle according to a methodName and a given agentClass.
findMethodHandleFromArgs(Class<?>, String, Object...) - Static method in class madkit.reflection.MethodHandleFinder
Returns a MethodHandle according to a methodName, a given agentClass and a sample of the arguments which could be passed to it.
flush() - Method in class madkit.logging.TextAreaHandler
Flushes any buffered output.
format(LogRecord) - Method in class madkit.logging.AgentFormatter
Formats the given log record.
format(LogRecord) - Method in class madkit.logging.MDKFormatter
Formats the given log record.
FXActionCheck - Class in madkit.gui
Class representing a check action in the JavaFX GUI.
FXActionCheck(ActionData, Consumer<ActionEvent>) - Constructor for class madkit.gui.FXActionCheck
Builds a new action using ActionData.
FXAgentStage - Class in madkit.kernel
The `FXAgentStage` class extends the JavaFX Stage class to provide a stage that is associated with an `Agent`.
FXAgentStage(Agent) - Constructor for class madkit.kernel.FXAgentStage
Constructs an `FXAgentStage` with the specified agent and sets `autoCloseOnAgentEnd` to true.
FXAgentStage(Agent, boolean) - Constructor for class madkit.kernel.FXAgentStage
Constructs an `FXAgentStage` with the specified agent and the specified auto-close behavior.
FXExecutor - Class in madkit.gui
Provides a wrapper around the JavaFX Platform class with additional functionality for managing calls to the JavaFX Platform.
FXInstance - Class in madkit.internal
The Class FXInstance.
FXOutputPane - Class in madkit.gui
The `FXOutputPane` class extends the JavaFX BorderPane class to provide a panel that displays an agent's logging activity.
FXOutputPane(Agent) - Constructor for class madkit.gui.FXOutputPane
Builds the panel for the agent

G

G_NULL - Enum constant in enum class madkit.i18n.ErrorMessages
Indicates that group is null.
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.
get(K) - Method in class madkit.messages.MapMessage
invoke Map.get(Object) on the map contained in this message
getAccelerator() - Method in class madkit.action.ActionData
Returns the keyboard shortcut for the action.
getActionData() - Method in enum class madkit.action.SchedulingAction
Returns the action data corresponding to this enum.
getActionFor(Agent, Object...) - Method in enum class madkit.action.AgentAction
Builds an FX action that will make the agent perform the corresponding operation if possible.
getActionFrom(Scheduler<?>, Object...) - Method in enum class madkit.action.SchedulingAction
Builds an FX action that will make the kernel do the corresponding operation if possible.
getActions() - Method in class madkit.kernel.Scheduler
Returns the actions that can be used to control the simulation.
getActivationList() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
Returns the activation list.
getActivators() - Method in class madkit.kernel.Scheduler
Gets the list of activators that are currently added to the simulation engine by this scheduler.
getAgent() - Method in class madkit.gui.DefaultAgentGUI
Returns the agent bounded to this GUI.
getAgentAddresses() - Method in class madkit.kernel.Role
Returns a list of agent addresses corresponding to agents having the given role
getAgentAddressOf(Agent) - Method in class madkit.kernel.Role
Returns the agent address of the agent in this role
getAgentInstance(String) - Static method in class madkit.kernel.MadkitClassLoader
Returns an instance of a class from its name using the current class loader.
getAgentNetworkID() - Method in class madkit.kernel.AgentAddress
Return a string representing a unique identifier of the binded agent over the network.
getAgents() - Method in class madkit.kernel.Activator
Returns a snapshot at moment t of the agents handling the group/role couple
getAgents() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Returns a snapshot at moment t of the agents handling the group/role couple
getAgents() - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Returns a snapshot at moment t of the agents handling the group/role couple
getAgents() - Method in class madkit.simulation.scheduler.MethodActivator
Returns a snapshot at moment t of the agents handling the group/role couple
getAgents() - Method in class madkit.kernel.Probe
Returns a snapshot at moment t of the agents handling the group/role couple
getAgents() - Method in class madkit.simulation.PropertyProbe
Returns a snapshot at moment t of the agents handling the group/role couple
getAgentsWithMain() - Static method in class madkit.kernel.MadkitClassLoader
 
getAgentsWithRole(String, String, String) - Method in class madkit.kernel.Agent
Returns a list of agent addresses corresponding to agents having this role in the organization.
getAgentsWithRole(String, String, String) - Method in class madkit.kernel.Organization
Returns a List containing all other agents having this position in the organization.
getAgentWithRole(String, String, String) - Method in class madkit.kernel.Agent
Returns an AgentAddress corresponding to an agent having this position in the organization.
getAll(Predicate<M>) - Method in class madkit.kernel.Mailbox
Retrieves and removes all the messages from the message box.
getAllAgentClasses() - Static method in class madkit.kernel.MadkitClassLoader
Returns the names of all the available agent classes
getAverage() - Method in class madkit.simulation.PropertyProbe
Returns the average for the property over all the agents.
getBackground() - Method in class madkit.simulation.viewer.CanvasDrawerGUI
Sets the background color of the canvas.
getBestRandomGeneratorFactory() - Static method in class madkit.random.Randomness
Returns the best random generator factory considering the capabilities of current system and the highest number of state bits.
getCanvas() - Method in class madkit.simulation.viewer.CanvasDrawerGUI
Gets the canvas
getCGRString(String) - Static method in class madkit.i18n.I18nUtilities
Returns a string formatted according to the presentation of a CGR location.
getCGRString(String, String) - Static method in class madkit.i18n.I18nUtilities
Returns a string formatted according to the presentation of a CGR location.
getCGRString(String, String, String) - Static method in class madkit.i18n.I18nUtilities
Returns a string formatted according to the presentation of a CGR location.
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.messages.EnumMessage
 
getCommunities() - Method in class madkit.kernel.Organization
Returns a list of all the communities in the organization
getCommunity() - Method in class madkit.kernel.AgentAddress
Returns the community to which this AgentAddress is bound.
getCommunity() - Method in class madkit.kernel.Group
Gets the community this group belongs to.
getCommunity() - Method in class madkit.kernel.Activator
Gets the community to which this activator/probe is binded to.
getCommunity() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Gets the community to which this activator/probe is binded to.
getCommunity() - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Gets the community to which this activator/probe is binded to.
getCommunity() - Method in class madkit.simulation.scheduler.MethodActivator
Gets the community to which this activator/probe is binded to.
getCommunity() - Method in class madkit.kernel.Probe
Gets the community to which this activator/probe is binded to.
getCommunity() - Method in class madkit.simulation.PropertyProbe
Gets the community to which this activator/probe is binded to.
getCommunity() - Method in class madkit.kernel.Role
Returns the community which this role belongs to.
getCommunity() - Method in class madkit.simulation.SimuAgent
Returns the community associated with the simulation.
getCommunity() - Method in class madkit.simulation.SimuLauncher
Returns the name of the simulation community.
getConfig() - Method in class madkit.kernel.Madkit
Returns the kernel configuration.
getContent() - Method in class madkit.messages.ObjectMessage
Gets the content of this message
getConversationID() - Method in class madkit.kernel.Message
Returns the conversation ID for this message.
getCurrentTime() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Returns the current simulation time.
getCurrentTime() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
Returns the current simulation time.
getCurrentTime() - Method in class madkit.simulation.scheduler.SimuTimer
Returns the current time object
getDefaultInterval() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Returns the default interval between activations.
getDefaultTemporalUnit() - Method in class madkit.simulation.scheduler.DateBasedTimer
Gets the default temporal unit for date increments.
getEndTime() - Method in class madkit.simulation.scheduler.SimuTimer
Returns the ending time object
getEngineAgentsArgsFrom(Class<?>) - Static method in class madkit.simulation.SimuLauncher
Gets the engine agents args from.
getEngineGroup() - Method in class madkit.simulation.SimuAgent
Returns the engine group associated with the simulation.
getEngineGroup() - Method in class madkit.simulation.SimuLauncher
Returns the engine group associated with the simulation.
getEnvironment() - Method in class madkit.simulation.SimuAgent
Retrieves the environment associated with the simulation.
getEnvironment() - Method in class madkit.simulation.SimuLauncher
Gets the environment.
getFXAction() - Method in class madkit.action.ActionData
Returns the ActionFromEnum associated with this action data.
getGraphic() - Method in class madkit.action.ActionData
Returns the graphic node for the action.
getGraphicMenu() - Method in class madkit.action.ActionData
Returns the graphic node for the action menu.
getGraphics() - Method in class madkit.simulation.viewer.CanvasDrawerGUI
Gets the graphics context of the canvas.
getGraphics() - Method in class madkit.simulation.viewer.Viewer2D
Gets the graphics context to draw on the canvas.
getGroup() - Method in class madkit.kernel.AgentAddress
Returns the group to which this AgentAddress is bound.
getGroup() - Method in class madkit.kernel.Activator
Gets the group to which this activator/probe is binded to.
getGroup() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Gets the group to which this activator/probe is binded to.
getGroup() - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Gets the group to which this activator/probe is binded to.
getGroup() - Method in class madkit.simulation.scheduler.MethodActivator
Gets the group to which this activator/probe is binded to.
getGroup() - Method in class madkit.kernel.Probe
Gets the group to which this activator/probe is binded to.
getGroup() - Method in class madkit.simulation.PropertyProbe
Gets the group to which this activator/probe is binded to.
getGroup() - Method in class madkit.kernel.Role
Returns the group which this role belongs to.
getGroup(String) - Method in class madkit.kernel.Community
Returns the group with the specified name.
getGroup(String, String) - Method in class madkit.kernel.Organization
Returns the group object corresponding to the given community and group names
getGroups() - Method in class madkit.kernel.Community
Returns a list of all groups in the community.
getGUI() - Method in class madkit.simulation.Viewer
Returns the GUI of this viewer.
getGUI() - Method in class madkit.simulation.viewer.Viewer2D
Redefines to benefit from automatic casting.
getHandler() - Method in class madkit.gui.AgentLogArea
Gets the handler that writes log records to this text area.
getHead(Handler) - Method in class madkit.logging.MDKFormatter
Returns the static header for the log records.
getHeader(LogRecord) - Method in class madkit.logging.AgentFileFormatter
Returns an empty StringBuilder as the header for the log record.
getHeader(LogRecord) - Method in class madkit.logging.AgentFormatter
Returns a StringBuilder containing the logger name as the header for the log record.
getHeight() - Method in class madkit.simulation.environment.Environment2D
Returns the height of the environment.
getImage() - Method in class madkit.action.ActionData
Returns the image for the action.
getKernelAddress() - Method in class madkit.kernel.Agent
The kernel's address on which this agent is running.
getKernelAddress() - Method in class madkit.kernel.AgentAddress
Returns the kernel address associated with this AgentAddress.
getKernelConfig() - Method in class madkit.kernel.Agent
Gets the kernel configuration associated with the agent.
getLauncher() - Method in class madkit.simulation.SimuAgent
Retrieves the simulation engine associated with this agent.
getLevel(String) - Method in class madkit.kernel.KernelConfig
Retrieves the logging level associated with the specified key.
getLineChart() - Method in class madkit.simulation.viewer.LineChartDrawer
Returns the line chart node
getLineChartTitle() - Method in class madkit.simulation.viewer.LineChartDrawer
Returns the title of the line chart.
getLineChartTitle() - Method in class madkit.simulation.viewer.RolesPopulationLineChartDrawer
Gets the title of the line chart
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.Agent
Returns the agent's logger.
getLogger() - Method in class madkit.kernel.Community
Returns the logger associated with the community.
getLongDescription() - Method in class madkit.action.ActionData
Returns the long description of the action.
getMadkitActions(Agent) - Static method in class madkit.action.Actions
Returns the MaDKit actions for the given agent.
getMailbox() - Method in class madkit.kernel.Agent
Returns the agent's mailbox
getMainPane() - Method in class madkit.gui.DefaultAgentGUI
Returns the main pane of the viewer agent.
getMax() - Method in class madkit.simulation.PropertyProbe
Returns the maximum for the property over all the agents.
getMax(Comparator<T>) - Method in class madkit.simulation.PropertyProbe
Returns the maximum for the property over all the agents using the specified Comparator.
getMaxXDataPoints() - Method in class madkit.simulation.viewer.LineChartDrawer
Returns the maximum number of data points to display on the x-axis
getMDKFiles() - Static method in class madkit.kernel.MadkitClassLoader
Returns the names of all the mdk properties files available
getMessage() - Method in class madkit.message.hook.MessageEvent
 
getMethod() - Method in class madkit.simulation.scheduler.MethodActivator
Returns the name of the method to be invoked on the agents.
getMethodFromTypes(Class<?>, String, Class<?>...) - Static method in class madkit.reflection.MethodFinder
Returns the agent's method named methodName considering a given agentClass.
getMethodOn(Class<?>, String, Object...) - Static method in class madkit.reflection.MethodFinder
Returns the agent's method named methodName considering a given agentClass and a sample of the arguments which could be passed to it.
getMin() - Method in class madkit.simulation.PropertyProbe
Returns the maximum for the property over all the agents.
getMin(Comparator<T>) - Method in class madkit.simulation.PropertyProbe
Returns the minimum for the property over all the agents.
getModel() - Method in class madkit.simulation.SimuAgent
Retrieves the simulation model associated with this agent.
getModel() - Method in class madkit.simulation.SimuLauncher
Gets the model.
getModelGroup() - Method in class madkit.simulation.SimuAgent
Returns the model group associated with the simulation.
getModelGroup() - Method in class madkit.simulation.SimuLauncher
Returns the model group associated with the simulation.
getName() - Method in class madkit.action.ActionData
Returns the name of the action.
getName() - Method in class madkit.kernel.Agent
Gets the agent's name.
getName() - Method in class madkit.kernel.Community
Returns the name of the community.
getName() - Method in class madkit.kernel.Activator
Gets the name.
getName() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Gets the name.
getName() - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Gets the name.
getName() - Method in class madkit.simulation.scheduler.MethodActivator
Gets the name.
getName() - Method in class madkit.kernel.Probe
Gets the name.
getName() - Method in class madkit.simulation.PropertyProbe
Gets the name.
getName() - Method in class madkit.kernel.Role
Returns the role name.
getNetworkID() - Method in class madkit.kernel.Agent
Returns a string representing a unique identifier for the agent over the network.
getNetworkID() - Method in class madkit.kernel.KernelAddress
Gets the network ID.
getNewest() - Method in class madkit.kernel.Mailbox
Gets the last received message.
getNewest(Predicate<M>) - Method in class madkit.kernel.Mailbox
Gets the last received message according to a filter.
getNextActivationDate() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Returns the next date at which this activator should be triggered.
getNextActivationDate() - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Returns the next activation date based on the activation list.
getNextEventDate() - Method in class madkit.simulation.SimuAgent
Method which is used by discrete-event simulation activators for doing fine-grained simulations.
getObservableValue() - Method in class madkit.gui.SliderEditor
Gets the observable value.
getOrganization() - Method in class madkit.kernel.Agent
Gets the organization.
getOrganization() - Method in class madkit.kernel.Group
Gets the organization of the community this group belongs to.
getOrganization() - Method in class madkit.kernel.Role
Returns the organization which this role belongs to.
getParameters() - Method in class madkit.action.RequestActionMessage
Gets the parameters to pass to the method.
getPause() - Method in class madkit.kernel.Scheduler
Returns the delay between two simulation steps.
getPauseSlider() - Method in class madkit.kernel.Scheduler
Gets a Slider that can manipulate the pause between two simulation steps.
getPriority() - Method in class madkit.kernel.Activator
The priority of this activator when conflicting with another Activator.
getPRNGSeedIndex() - Method in class madkit.simulation.SimuLauncher
Returns the seed used to create the PRNG.
getProbes() - Method in class madkit.kernel.Watcher
Returns the probes which are currently added to the artificial organization.
getPropertyValue(Agent) - Method in class madkit.simulation.PropertyProbe
Returns the current value of the agent's field.
getReceiver() - Method in class madkit.kernel.Message
Returns the agent address corresponding to the agent that receives this message.
getRenderingOffAction() - Method in class madkit.simulation.viewer.ViewerDefaultGUI
Returns the rendering off action.
getReply(Message) - Method in class madkit.kernel.Mailbox
/** Gets the next message which is a reply to the originalMessage.
getReplyTo(Message) - Method in class madkit.kernel.Agent
Gets the next message which is a reply to the originalMessage.
getResourceBundle(String) - Static method in class madkit.i18n.I18nUtilities
Returns the resource bundle for the given base name.
getRole() - Method in class madkit.kernel.AgentAddress
Returns the role to which this AgentAddress is bound.
getRole() - Method in class madkit.kernel.Activator
Gets the role to which this activator/probe is binded to.
getRole() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Gets the role to which this activator/probe is binded to.
getRole() - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Gets the role to which this activator/probe is binded to.
getRole() - Method in class madkit.simulation.scheduler.MethodActivator
Gets the role to which this activator/probe is binded to.
getRole() - Method in class madkit.kernel.Probe
Gets the role to which this activator/probe is binded to.
getRole() - Method in class madkit.simulation.PropertyProbe
Gets the role to which this activator/probe is binded to.
getRole(String) - Method in class madkit.kernel.Group
Gets a role as an object from its name
getRole(String, String, String) - Method in class madkit.kernel.Organization
Returns the role object corresponding to the given community, group and role
getRoleNames() - Method in class madkit.kernel.Group
Gets the names of the roles in this group.
getRoles() - Method in class madkit.kernel.Group
Gets the list of the roles in this group.
getScene() - Method in class madkit.gui.DefaultAgentGUI
Returns the scene of the viewer agent.
getScheduler() - Method in class madkit.kernel.Activator
Gets the scheduler that manages this activator.
getScheduler() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Returns the scheduler associated with this activator.
getScheduler() - Method in class madkit.simulation.SimuAgent
Retrieves the scheduler associated with the simulation engine.
getScheduler() - Method in class madkit.simulation.SimuLauncher
Gets the scheduler.
getSender() - Method in class madkit.kernel.Message
Returns the agent address corresponding to the agent that sends this message.
getSenderRole() - Method in class madkit.kernel.Message
Returns the role of the agent that sent this message.
getSeries() - Method in class madkit.simulation.viewer.LineChartDrawer
Returns the series map
getShedulerActions() - Method in class madkit.kernel.Scheduler
Returns the actions group that can be used to control the simulation.
getSheet(Object...) - Static method in class madkit.gui.PropertySheetFactory
Get a parameters sheet made of the objects' properties annotated with UIProperty or SliderProperty annotations.
getShortDescription() - Method in class madkit.action.ActionData
Returns the short description of the action.
getSignature(String, Class<?>...) - Static method in class madkit.reflection.ReflectionUtils
Converts a signature to its string representation.
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.
getSimuTimer() - Method in class madkit.kernel.Activator
Get the SimuTimer associated with the simulation
getSimuTimer() - Method in class madkit.kernel.Scheduler
Returns the SimuTimer of the scheduler.
getSimuTimer() - Method in class madkit.simulation.SimuAgent
Returns the SimuTimer of the current simulation.
getSmallImage() - Method in class madkit.action.ActionData
Returns the small image for the action.
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
 
getStage() - Method in class madkit.gui.DefaultAgentGUI
Returns the stage of the viewer agent.
getStartTime() - Method in class madkit.simulation.scheduler.SimuTimer
Returns the starting time
getSynchroPaintingAction() - Method in class madkit.simulation.viewer.ViewerDefaultGUI
Returns the synchronous painting action.
getTextArea() - Method in class madkit.gui.FXOutputPane
Returns the text area used to display the agent's logging activity
getTimeLabel() - Method in class madkit.kernel.Scheduler
Returns a Label displaying the time of the simulation.
getTimeLabel() - Method in class madkit.simulation.scheduler.SimuTimer
Returns a label synchronized with the current time.
getTitledPaneSheet(Object) - Static method in class madkit.gui.PropertySheetFactory
Returns a titled pane containing the object's properties annotated with UIProperty or SliderProperty annotations.
getTitledPaneSheet(String, Object...) - Static method in class madkit.gui.PropertySheetFactory
Returns a titled pane containing the objects' properties annotated with UIProperty or SliderProperty annotations.
getToolBar() - Method in class madkit.gui.DefaultAgentGUI
Returns the tool bar of the GUI
getToolBar() - Method in class madkit.kernel.Scheduler
Returns a ToolBar made of scheduling actions, a pause slider and a label displaying the current simulation time.
getVBoxProperties(Object...) - Static method in class madkit.gui.PropertySheetFactory
Get a VBox containing the object's parameters annotated with UIProperty or SliderProperty annotations.
getViewer() - Method in class madkit.simulation.viewer.ViewerDefaultGUI
Returns the viewer agent associated with this GUI.
getViewers() - Method in class madkit.simulation.SimuAgent
Retrieves the list of viewer agents associated with the simulation.
getViewers() - Method in class madkit.simulation.SimuLauncher
Returns the the viewers that are actually running.
getWidth() - Method in class madkit.simulation.environment.Environment2D
Returns the width of the environment.
getxAxisLabel() - Method in class madkit.simulation.viewer.LineChartDrawer
Returns the label of the x-axis of the line chart.
getxAxisLabel() - Method in class madkit.simulation.viewer.RolesPopulationLineChartDrawer
Gets the label of the x axis
getXMLConfigurations() - Static method in class madkit.kernel.MadkitClassLoader
Returns the names of all the xml configuration files available
getyAxisLabel() - Method in class madkit.simulation.viewer.LineChartDrawer
Returns the label of the y-axis of the line chart.
getyAxisLabel() - Method in class madkit.simulation.viewer.RolesPopulationLineChartDrawer
Gets the label of the y axis
GlobalAction - Class in madkit.action
Global actions that can be triggered from anywhere during execution.
Group - Class in madkit.kernel
This class represents a group, containing roles played by agents.
GROUP - Enum constant in enum class madkit.i18n.Words
Represents the keyword "GROUP".
GROUP_CANDIDATE - Static variable in class madkit.agr.SystemRoles
This role is a temporary role used to exchange messages with a group's manager that one agent is not part of.
GROUP_MANAGER - Static variable in class madkit.agr.SystemRoles
This role is automatically given to agents that create a group.
groupingByContent(Collection<M>) - Static method in class madkit.messages.Messages
Groups messages by their content.

H

handleRequestActionMessage(RequestActionMessage) - Method in class madkit.kernel.Agent
Handles a RequestActionMessage so that the agent will trigger the corresponding method using the parameters of the message.
hashCode() - Method in class madkit.kernel.Agent
Gets the agent's hash code.
hashCode() - Method in class madkit.kernel.AgentAddress
The hash code of an agent address.
hashCode() - Method in class madkit.kernel.ConversationID
Hash code.
hashCode() - Method in class madkit.kernel.KernelAddress
 
hasReachedEndTime() - Method in class madkit.simulation.scheduler.SimuTimer
Checks if this timer has reached its end time.
HELP - Enum constant in enum class madkit.i18n.Words
Represents the keyword "HELP".
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

I18N_DIRECTORY - Static variable in class madkit.i18n.I18nUtilities
The directory where the i18n files are stored.
I18nUtilities - Class in madkit.i18n
Internationalization help class containing only static methods.
incrementCurrentDate(long) - Method in class madkit.simulation.scheduler.DateBasedTimer
Increments the current date by the specified amount using the default unit.
incrementCurrentDate(long, ChronoUnit) - Method in class madkit.simulation.scheduler.DateBasedTimer
Increments the current date by the specified amount and unit.
incrementCurrentTick(double) - Method in class madkit.simulation.scheduler.TickBasedTimer
Increments the current tick by the specified delta value.
incrementCurrentTick(BigDecimal) - Method in class madkit.simulation.scheduler.TickBasedTimer
Increments the current tick by the specified delta value.
INITIAL_CONFIG - Enum constant in enum class madkit.i18n.Words
Represents the keyword "INITIAL_CONFIG".
IntegerMessage - Class in madkit.messages
A message class that conveys an integer.
IntegerMessage() - Constructor for class madkit.messages.IntegerMessage
Builds a new message containing the integer 0
IntegerMessage(Integer) - Constructor for class madkit.messages.IntegerMessage
Builds a new message containing the integer i
INVALID_AGENT_ADDRESS - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Returned by send primitives when the targeted agent address does not exist anymore, i.e.
isAlive() - Method in class madkit.kernel.Agent
Checks if the agent is alive.
isCommunity(String) - Method in class madkit.kernel.Organization
Returns true if the community exists in the organization.
isDistributed() - Method in class madkit.kernel.Group
Checks if is distributed.
isEmpty() - Method in class madkit.kernel.Mailbox
Tells if there is a message in the mailbox
isEmpty() - Method in class madkit.kernel.Activator
Checks if there is no agent in the group/role couple
isEmpty() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Checks if there is no agent in the group/role couple
isEmpty() - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Checks if there is no agent in the group/role couple
isEmpty() - Method in class madkit.simulation.scheduler.MethodActivator
Checks if there is no agent in the group/role couple
isEmpty() - Method in class madkit.kernel.Probe
Checks if there is no agent in the group/role couple
isEmpty() - Method in class madkit.simulation.PropertyProbe
Checks if there is no agent in the group/role couple
isGroup(String, String) - Method in class madkit.kernel.Organization
Returns true if the group exists in the organization.
isHeadlessMode() - Static method in class madkit.gui.FXExecutor
Returns whether the application is running in headless mode.
isHeadlessMode() - Static method in class madkit.internal.FXInstance
 
isLoggable(Level) - Method in class madkit.kernel.AgentLogger
Check if a message of the given level would actually be logged by this logger.
isPaintOver() - Method in class madkit.simulation.viewer.Viewer2D
Returns the paint over mode.
isParallelMode() - Method in class madkit.simulation.scheduler.MethodActivator
Returns whether the activator is in parallel mode.
isRendering() - Method in class madkit.simulation.viewer.ViewerDefaultGUI
Returns if the rendering is activated.
isRole(String, String, String) - Method in class madkit.kernel.Organization
Returns true if the role exists in the organization.
isShufflingMode() - Method in class madkit.simulation.scheduler.MethodActivator
Returns whether the activation list should be shuffled before execution.
isStarted() - Static method in class madkit.gui.FXExecutor
Returns whether the JavaFX Platform has started.
isStarted() - Static method in class madkit.internal.FXInstance
 
isValid() - Method in class madkit.kernel.AgentAddress
Checks if this AgentAddress is valid.

J

JCONSOLE - Static variable in class madkit.action.GlobalAction
An action that Launches the jconsole tool if 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.
KernelConfig - Class in madkit.kernel
The `KernelConfig` class extends `PropertiesConfiguration` to provide additional configuration capabilities specific to the MaDKit kernel.
KernelConfig() - Constructor for class madkit.kernel.KernelConfig
 
KernelMessage - Class in madkit.messages
KernelMessage is a message that can be sent to the kernel agent.
KernelMessage(KernelAction, Object...) - Constructor for class madkit.messages.KernelMessage
Builds a kernel message with the specified enum code and command options
KILL_AGENT - Enum constant in enum class madkit.action.AgentAction
Action to kill an agent.
KILL_AGENT - Enum constant in enum class madkit.action.KernelAction
Kill an agent
killAgent(Agent) - Method in class madkit.kernel.Agent
Kills the specified agent, waiting forever for this agent to end.
killAgent(Agent, int) - Method in class madkit.kernel.Agent
Kills the specified agent with a specified timeout.
killAgents() - Method in class madkit.kernel.Activator
Kills all the agents which are monitored.
killAgents() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Kills all the agents which are monitored.
killAgents() - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Kills all the agents which are monitored.
killAgents() - Method in class madkit.simulation.scheduler.MethodActivator
Kills all the agents which are monitored.
killAgents() - Method in class madkit.kernel.Probe
Kills all the agents which are monitored.
killAgents() - Method in class madkit.simulation.PropertyProbe
Kills all the agents which are monitored.

L

LAST_AVAILABLE - Enum constant in enum class madkit.i18n.Words
Represents the keyword "LAST_AVAILABLE".
LAUNCH - Enum constant in enum class madkit.i18n.Words
Represents the keyword "LAUNCH".
LAUNCH_AGENT - Enum constant in enum class madkit.action.AgentAction
Action to launch an agent.
LAUNCH_AGENT - Enum constant in enum class madkit.action.KernelAction
Launch an agent
launchAgent(String, int) - Method in class madkit.kernel.Agent
Launches a new agent using its full class name and returns when the launched agent has completed its Agent.onActivation() method or when the timeout is elapsed.
launchAgent(Agent) - Method in class madkit.kernel.Agent
Launches a new agent and waits until the launched agent has completed its Agent.onActivation() method.
launchAgent(Agent) - Method in class madkit.kernel.Madkit
Launches the specified agent.
launchAgent(Agent, int) - Method in class madkit.kernel.Agent
Launches a new agent and waits until the launched agent has completed its Agent.onActivation() method or until the timeout is elapsed.
launchAgent(Agent, int) - Method in class madkit.simulation.SimuAgent
Launches a new agent.
LAUNCHER_ROLE - Static variable in class madkit.simulation.SimuOrganization
The value of this constant is "LAUNCHER".
LEAVE_GROUP - Enum constant in enum class madkit.action.AgentAction
Action to leave a group.
LEAVE_GROUP - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
The leave group.
LEAVE_ROLE - Enum constant in enum class madkit.action.AgentAction
Action to leave a role.
LEAVE_ROLE - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
The leave role.
leaveGroup(String, String) - Method in class madkit.kernel.Agent
Makes this agent leaves the group of a particular community.
leaveRole(String) - Method in class madkit.simulation.SimuAgent
Leaves a specified role in the model group of the simulation.
leaveRole(String, String, String) - Method in class madkit.kernel.Agent
Abandons an handled role within a group of a particular community.
leaveSimuGroup(String) - Method in class madkit.simulation.SimuAgent
Deprecated, for removal: This API element is subject to removal in a future version.
leaveSimuRole(String, String) - Method in class madkit.simulation.SimuAgent
Deprecated, for removal: This API element is subject to removal in a future version.
LineChartDrawer<K> - Class in madkit.simulation.viewer
A Viewer agent specialized in line chart drawing.
LineChartDrawer() - Constructor for class madkit.simulation.viewer.LineChartDrawer
 
live() - Method in class madkit.kernel.Agent
Deprecated, for removal: This API element is subject to removal in a future version.
Use Agent.onLive() instead.
loadClass(String) - Method in class madkit.kernel.MadkitClassLoader
 
loadJarsFromDirectory(String) - Static method in class madkit.kernel.MadkitClassLoader
Loads all jar files from a directory
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
override so that the throwable is printed if not null
logActivationList() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
Logs the activation list.
logCurrrentTime() - Method in class madkit.kernel.Scheduler
Logs the current simulation time value.
LOGS_DIRECTORY - Static variable in class madkit.kernel.AgentLogger
The name of the directory where the log files are stored.

M

Madkit - Class in madkit.kernel
The `Madkit` class is the main entry point for the MaDKit platform.
Madkit(String...) - Constructor for class madkit.kernel.Madkit
Constructs a `Madkit` instance with the specified command-line arguments.
madkit.action - package madkit.action
This package contains classes and interfaces related to the actions that can be performed within the MaDKit framework.
madkit.agr - package madkit.agr
This package contains classes and interfaces defining default groups and roles in MaDKit.
madkit.base - module madkit.base
The madkit.base module provides the core functionalities of the MaDKit platform.
madkit.gui - package madkit.gui
This package contains classes and interfaces related to the graphical user interface (GUI) default components of MaDKit.
madkit.i18n - package madkit.i18n
 
madkit.internal - package madkit.internal
 
madkit.kernel - package madkit.kernel
Provides classes that are fundamental to the design of MaDKit applications.
madkit.logging - package madkit.logging
This package contains classes and interfaces for logging in Madkit.
madkit.message.hook - package madkit.message.hook
Contains message classes useful for monitoring MaDKit kernel events.
madkit.messages - package madkit.messages
Contains subclasses of Message which could be easily reused.
madkit.random - package madkit.random
Provides various utility classes and methods for generating random numbers in MaDKit applications.
madkit.reflection - package madkit.reflection
Provides utilities for finding method references in Agent classes.
madkit.simulation - package madkit.simulation
Contains utilities related with simulation authoring.
madkit.simulation.environment - package madkit.simulation.environment
Defines interfaces and classes that model common simulation environments.
madkit.simulation.scheduler - package madkit.simulation.scheduler
Contains Scheduler and Activator subclasses for simulation authoring.
madkit.simulation.viewer - package madkit.simulation.viewer
Provides classes for creating and managing simulation viewers in MaDKit.
MadkitClassLoader - Class in madkit.kernel
The MadkitClassLoader is the class loader used by MaDKit.
Mailbox - Class in madkit.kernel
This class represents the mailbox of an Agent
main(String[]) - Static method in class madkit.kernel.Madkit
The main method for the MaDKit platform.
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.messages
This class could be used to build message conveying Map objects between MaDKit agents.
MapMessage() - Constructor for class madkit.messages.MapMessage
/** Builds a MapMessage containing an empty HashMap}
MapMessage(Map<K, V>) - Constructor for class madkit.messages.MapMessage
Builds a MapMessage containing the specified map
MAS - Enum constant in enum class madkit.i18n.Words
Represents the keyword "MAS".
max() - Element in annotation interface madkit.gui.SliderProperty
The maximum value of the slider
max() - Element in annotation interface madkit.random.RandomizedDouble
The maximum value for that double
max() - Element in annotation interface madkit.random.RandomizedFloat
The maximum value of the float.
max() - Element in annotation interface madkit.random.RandomizedInteger
The maximum value for that integer
MDK_LOGGER - Static variable in class madkit.kernel.Madkit
The Constant MDK_LOGGER.
MDKFormatter - Class in madkit.logging
This class extends the Formatter class to provide a custom log formatter for MDK.
MDKFormatter() - Constructor for class madkit.logging.MDKFormatter
 
Menus - Class in madkit.gui
Utility class to create menus with default actions for a given agent.
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 or HookMessage.AgentActionEvent.AGENT_TERMINATED
MessageEvent(HookMessage.AgentActionEvent, Message) - Constructor for class madkit.message.hook.MessageEvent
 
MessageFilter - Interface in madkit.messages
Instances of classes that implement this interface are used to filter messages when consulting the mailbox.
Messages - Class in madkit.messages
This class provides utility methods for working with collections of messages.
messagesWithMaxContent(Collection<M>) - Static method in class madkit.messages.Messages
Returns the messages containing the maximum element of the given collection, according to the natural ordering of the elements contained in the message.
messagesWithMinContent(Collection<M>) - Static method in class madkit.messages.Messages
Returns the messages containing the minimum element of the given collection, according to the natural ordering of the elements contained in the message.
MethodActivator - Class in madkit.simulation.scheduler
An activator that invokes a single method on a group of agents.
MethodActivator(String, String, String, Class<?>...) - Constructor for class madkit.simulation.scheduler.MethodActivator
Builds a new GenericBehaviorActivator on the given CGR location of the artificial society.
MethodFinder - Class in madkit.reflection
Utilities for finding method references in Agent classes.
MethodHandleFinder - Class in madkit.reflection
This class provides a way to find a MethodHandle from a given Class and a method name.
min() - Element in annotation interface madkit.gui.SliderProperty
The minimum value of the slider
min() - Element in annotation interface madkit.random.RandomizedDouble
The minimum value for that double
min() - Element in annotation interface madkit.random.RandomizedFloat
The minimum value of the float.
min() - Element in annotation interface madkit.random.RandomizedInteger
The minimum value for that integer
model() - Element in annotation interface madkit.simulation.EngineAgents
The model class of the simulation.
MODEL_GROUP - Static variable in class madkit.simulation.SimuOrganization
The value of this constant is "model".
MODEL_ROLE - Static variable in class madkit.simulation.SimuOrganization
The value of this constant is "MODEL".
modified - Variable in class madkit.kernel.Role
The modified.
MUST_BE_LAUNCHED - Enum constant in enum class madkit.i18n.ErrorMessages
Indicates that the agent must be launched.
myGroup - Variable in class madkit.kernel.Role
The my group.

N

NAME - Static variable in class madkit.agr.LocalCommunity
The Constant NAME.
NEW_MSG - Enum constant in enum class madkit.i18n.Words
Represents the keyword "NEW_MSG".
newActionFor(Agent, Object...) - Method in enum class madkit.action.KernelAction
Returns the action associated with this enum constant for the specified agent, and with the specified parameters.
next() - Method in class madkit.kernel.Mailbox
Retrieves and removes the oldest received message contained in the mailbox.
next(Predicate<M>) - Method in class madkit.kernel.Mailbox
Retrieves and removes the first oldest message of the mailbox that matches the filter.
nextMatches(Predicate<M>) - Method in class madkit.kernel.Mailbox
Retrieves all the messages of the mailbox, without taking those that match the filter, Messages are listed in the order they were received.
nextMessage() - Method in class madkit.kernel.Agent
Retrieves the next message from the mailbox.
NO_RECIPIENT_FOUND - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Returned by send primitives when the targeted CGR location does not exist or contain any agent
NOT_COMMUNITY - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Indicates that a community does not exist
NOT_GROUP - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Indicates that a group does not exist
NOT_IN_GROUP - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Indicates that the agent is not in a group
NOT_ROLE - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Indicates that a role does not exist
NOT_YET_LAUNCHED - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Returned by kill primitives when the targeted agent has not been launched priorly

O

ObjectMessage<T> - Class in madkit.messages
This parameterizable class could be used to convey any Java Object between MaDKit agents.
ObjectMessage(T) - Constructor for class madkit.messages.ObjectMessage
Builds a message with the specified content
onActivation() - Method in class madkit.kernel.Agent
First method called when the agent is launched.
onActivation() - Method in class madkit.kernel.Scheduler
On activation, by default the scheduler requests the role SimuOrganization.SCHEDULER_ROLE in the group SimuOrganization.ENGINE_GROUP.
onActivation() - Method in class madkit.kernel.Watcher
This method is called when the agent is activated.
onActivation() - Method in class madkit.simulation.SimuEnvironment
On activation, the environment is added to the simulation engine and requests the SimuOrganization.ENVIRONMENT_ROLE in both the SimuOrganization.MODEL_GROUP and the SimuOrganization.ENGINE_GROUP.
onActivation() - Method in class madkit.simulation.SimuLauncher
This method is called when the simulation engine is activated.
onActivation() - Method in class madkit.simulation.SimuModel
This method is called when the agent is activated.
onActivation() - Method in class madkit.simulation.viewer.LineChartDrawer
This method is called when the agent is activated.
onActivation() - Method in class madkit.simulation.Viewer
This method is called when the agent is activated.
onActivation() - Method in class madkit.simulation.viewer.RolesPopulationLineChartDrawer
 
onActivation() - Method in class madkit.simulation.viewer.Viewer2D
On activation.
onAdding(Agent) - Method in class madkit.kernel.Activator
Automatically called when an agent joins the corresponding group and role.
onAdding(Agent) - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Automatically called when an agent joins the corresponding group and role.
onAdding(Agent) - Method in class madkit.simulation.scheduler.MethodActivator
Automatically called when an agent joins the corresponding group and role.
onAdding(Agent) - Method in class madkit.kernel.Probe
Automatically called when an agent joins the corresponding group and role.
onAdding(Agent) - Method in class madkit.simulation.PropertyProbe
Automatically called when an agent joins the corresponding group and role.
onAdding(Agent) - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Called when an agent is added to the activator.
onCreateRandomGenerator() - Method in class madkit.simulation.SimuLauncher
Creates the pseudo random number generator that has to be used by the simulation.
onEnd() - Method in class madkit.kernel.Agent
This method is called when the agent finishes its life cycle.
onEnd() - Method in class madkit.kernel.Scheduler
Called when the simulation ends.
onEnd() - Method in class madkit.kernel.Watcher
Removes all probes when the agent is ending
onEnd() - Method in class madkit.simulation.Viewer
This method is called when the agent is ending.
onInitialize() - Method in class madkit.gui.DefaultAgentGUI
Called first when the GUI is initialized.
onInitialize() - Method in class madkit.simulation.viewer.ViewerDefaultGUI
Redefines to initialize the default rendering actions.
onInitializeSimulationSeedIndex() - Method in class madkit.simulation.SimuLauncher
Initializes the simulation seed index.
onLaunchEnvironment() - Method in class madkit.simulation.SimuLauncher
Launches the simulation environment agent and logs the event.
onLaunchModel() - Method in class madkit.simulation.SimuLauncher
Returns the seed used to create the PRNG.
onLaunchScheduler() - Method in class madkit.simulation.SimuLauncher
Launches the simulation scheduler agent and logs the event.
onLaunchSimulatedAgents() - Method in class madkit.simulation.SimuLauncher
Launches the simulation agents.
onLaunchViewers() - Method in class madkit.simulation.SimuLauncher
Launches the simulation viewers agents and logs their launch.
onLive() - Method in class madkit.kernel.Agent
Defines the main behavior of the agent.
onLive() - Method in class madkit.kernel.Scheduler
The main loop of the scheduler agent.
onRemoving(Agent) - Method in class madkit.kernel.Activator
Automatically called when an agent leaves the corresponding group and role.
onRemoving(Agent) - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Automatically called when an agent leaves the corresponding group and role.
onRemoving(Agent) - Method in class madkit.simulation.scheduler.MethodActivator
Automatically called when an agent leaves the corresponding group and role.
onRemoving(Agent) - Method in class madkit.kernel.Probe
Automatically called when an agent leaves the corresponding group and role.
onRemoving(Agent) - Method in class madkit.simulation.PropertyProbe
Automatically called when an agent leaves the corresponding group and role.
onRemoving(Agent) - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Called when an agent is removed from the activator.
onSimulationStart() - Method in class madkit.kernel.Scheduler
Called when the simulation starts, or when the user clicks on the onsimulationrestart button.
onSimulationStart() - Method in class madkit.simulation.SimuAgent
Method to be called on simulation startup.
onSimulationStart() - Method in class madkit.simulation.SimuLauncher
Called before the simulation starts.
onSimulationStart() - Method in class madkit.simulation.Viewer
On simulation start.
Organization - Class in madkit.kernel
This class is responsible for managing the organization of the artificial society.
OrganizationEvent - Class in madkit.message.hook
OrganizationEvent(HookMessage.AgentActionEvent, AgentAddress) - Constructor for class madkit.message.hook.OrganizationEvent
 

P

pause(int) - Method in class madkit.kernel.Agent
Stops the agent's process for a specified duration.
PAUSE - Enum constant in enum class madkit.action.SchedulingAction
Makes the scheduler pause the simulation
PAUSE - Enum constant in enum class madkit.i18n.Words
Represents the keyword "PAUSE".
PAUSED - Enum constant in enum class madkit.kernel.Scheduler.SimulationState
The simulation is paused.
players - Variable in class madkit.kernel.Role
The players.
playRole(String) - Method in class madkit.simulation.SimuAgent
Plays a role within the model group of the simulation.
prng() - Method in class madkit.kernel.Agent
Returns the random generator used by the MaDKit kernel for this session.
prng() - Method in class madkit.simulation.SimuAgent
Retrieves the pseudo-random number generator used in the simulation model.
prng() - Method in class madkit.simulation.SimuLauncher
Returns the pseudo random number generator that has to be used by the simulation agents.
Probe - Class in madkit.kernel
This class defines a watcher's generic probe.
Probe(String, String) - Constructor for class madkit.kernel.Probe
Builds a new Probe on the given CGR location, without specifying the community.
Probe(String, String, String) - Constructor for class madkit.kernel.Probe
Builds a new Probe on the given CGR location of the artificial society.
PropertyProbe<T> - Class in madkit.simulation
This probe inspects a field of type T on a group of agents.
PropertyProbe(String, String, String) - Constructor for class madkit.simulation.PropertyProbe
Builds a new PropertyProbe considering a CGR location and the name of the class's field.
PropertySheetFactory - Class in madkit.gui
This class is used to create a property sheet from an object's fields.
publish(LogRecord) - Method in class madkit.logging.TextAreaHandler
Publishes the given log record by appending it to the TextArea if it is loggable.
purge() - Method in class madkit.kernel.Mailbox
Purges the mailbox and returns the most recent received message at that time.
purge(Predicate<M>) - Method in class madkit.kernel.Mailbox
Purges the mailbox and returns the most recent received message at that time that matches the filter.
put(K, V) - Method in class madkit.messages.MapMessage
invoke Map.put(Object, Object) on the map contained in this message.

R

R_NULL - Enum constant in enum class madkit.i18n.ErrorMessages
Indicates that role is null.
RandomizedBoolean - Annotation Interface in madkit.random
This annotation is used to mark a field as a boolean that should be randomized when Randomness.randomizeFields(Object, java.util.random.RandomGenerator) is used.
RandomizedDouble - Annotation Interface in madkit.random
This annotation is used to mark a field as a double that should be randomized when Randomness.randomizeFields(Object, java.util.random.RandomGenerator) is used.
RandomizedFloat - Annotation Interface in madkit.random
Annotation to specify that a float field should be randomized when Randomness.randomizeFields(Object, java.util.random.RandomGenerator) is used.
RandomizedInteger - Annotation Interface in madkit.random
This annotation is used to mark a field as an integer that should be randomized when Randomness.randomizeFields(Object, java.util.random.RandomGenerator) is used.
RandomizedString - Annotation Interface in madkit.random
This annotation is used to mark a field as a string that should be randomized when Randomness.randomizeFields(Object, java.util.random.RandomGenerator) is used.
randomizeFields(Object, RandomGenerator) - Static method in class madkit.random.Randomness
Randomizes the values of the fields of the object.
Randomness - Class in madkit.random
Provides various utility methods related to randomness with MaDKit.
Randomness() - Constructor for class madkit.random.Randomness
 
receiveMessage(Message) - Method in class madkit.kernel.Agent
This method offers a convenient way for regular object to send messages to Agents, especially threaded agents.
ReflectionUtils - Class in madkit.reflection
Utilities for finding method references in Agent classes.
reload() - Method in class madkit.kernel.Agent
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
Action to reload an agent.
RELOAD - Enum constant in enum class madkit.i18n.Words
Represents the keyword "RELOAD".
reloadClass(String) - Static method in class madkit.kernel.MadkitClassLoader
Schedule the reloading of the byte code of a class for its next loading.
removeActivator(Activator) - Method in class madkit.kernel.Scheduler
Removes an activator from the simulation engine.
removeActivator(Activator) - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
 
removeAgent(Agent) - Method in class madkit.kernel.Community
Removes the specified agent from all groups in the community.
removeAll() - Method in class madkit.kernel.Mailbox
Retrieves and removes all the messages from the mailbox.
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.
removeCommunity(String) - Method in class madkit.kernel.Organization
 
removeProbe(Probe) - Method in class madkit.kernel.Watcher
Removes the probe from the artificial organization, thus stopping the probing activity.
render() - Method in class madkit.simulation.Viewer
Renders the simulation state.
render() - Method in class madkit.simulation.viewer.RolesPopulationLineChartDrawer
 
render() - Method in class madkit.simulation.viewer.Viewer2D
Redefines so that the paint over mode is taken into account.
reply(Message, Message) - Method in class madkit.kernel.Agent
Sends a message by replying to a previously received message.
replyWithRole(Message, Message, String) - Method in class madkit.kernel.Agent
Sends a message by replying to a previously received message.
request(Agent, Object...) - Method in enum class madkit.action.KernelAction
Sends a message to the kernel to perform the action associated with this enum constant, with the specified parameters.
REQUEST_ROLE - Enum constant in enum class madkit.action.AgentAction
Action to request a role.
REQUEST_ROLE - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
The request role.
RequestActionMessage - Class in madkit.action
A message used to model a request made to an agent to perform an action that corresponds to an internal method call.
RequestActionMessage(String, Object...) - Constructor for class madkit.action.RequestActionMessage
Builds a new request message with the name of the method to call and the parameters to pass to the method.
RequestAgentMessageAction - Class in madkit.action
An action that sends a RequestActionMessage to an agent.
RequestAgentMessageAction(Agent, String, Object...) - Constructor for class madkit.action.RequestAgentMessageAction
 
requestRendering() - Method in class madkit.simulation.viewer.ViewerDefaultGUI
Requests the rendering of the simulation state.
requestRole(String, String, String) - Method in class madkit.kernel.Agent
Requests a role within a group of a particular community.
requestRole(String, String, String, Object) - Method in class madkit.kernel.Agent
Requests a role within a group of a particular community using a passKey.
requestSimuRole(String, String) - Method in class madkit.simulation.SimuAgent
Deprecated, for removal: This API element is subject to removal in a future version.
reset() - Method in class madkit.simulation.scheduler.SimuTimer
Resets the timer to its initial time.
RESTART - Enum constant in enum class madkit.action.KernelAction
Restart MaDKit with its initial options
Role - Class in madkit.kernel
Reifying the notion of Role in AGR.
ROLE - Enum constant in enum class madkit.i18n.Words
Represents the keyword "ROLE".
ROLE_ALREADY_HANDLED - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Returned when the agent already has the requested role
ROLE_NOT_HANDLED - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Returned when the agent does not have a role that it is supposed to have doing a particular action, e.g.
rolesOf(Agent) - Method in class madkit.kernel.Group
Roles of the agent in this group.
RolesPopulationLineChartDrawer - Class in madkit.simulation.viewer
A Viewer that displays the population of roles in the artificial organization
RolesPopulationLineChartDrawer() - Constructor for class madkit.simulation.viewer.RolesPopulationLineChartDrawer
 
RUN - Enum constant in enum class madkit.action.SchedulingAction
Makes the scheduler run the simulation
runAndWait(Runnable) - Static method in class madkit.gui.FXExecutor
Runs the specified Runnable on the JavaFX application thread and waits for completion.
runLater(Runnable) - Static method in class madkit.gui.FXExecutor
Runs the specified Runnable on the JavaFX application thread at some unspecified time in the future.
RUNNING - Enum constant in enum class madkit.kernel.Scheduler.SimulationState
The simulation process is running normally.

S

scheduler() - Element in annotation interface madkit.simulation.EngineAgents
The scheduler class of the simulation.
Scheduler<T> - Class in madkit.kernel
Scheduler is the core agent for defining multi-agent based simulations in MaDKit.
Scheduler() - Constructor for class madkit.kernel.Scheduler
Default constructor.
SCHEDULER_ROLE - Static variable in class madkit.simulation.SimuOrganization
The value of this constant is "SCHEDULER_ROLE".
Scheduler.SimulationState - Enum Class in madkit.kernel
A simulation state.
SchedulingAction - Enum Class in madkit.action
Enum representing operations which could be done by a Scheduler agent.
SchedulingMessage - Class in madkit.messages
This message class could be used to interact with a Scheduler agent.
SchedulingMessage(SchedulingAction, Object...) - Constructor for class madkit.messages.SchedulingMessage
Builds a message with the specified action
scrollPrecision() - Element in annotation interface madkit.gui.SliderProperty
The precision of the slider when using the mouse wheel.
send(Message, String, String, String) - Method in class madkit.kernel.Agent
Sends a message to an agent having this position in the organization, specifying explicitly the role used to send it.
send(Message, AgentAddress) - Method in class madkit.kernel.Agent
Sends a message to an agent using an agent address.
SEND_MESSAGE - Enum constant in enum class madkit.action.AgentAction
Action to send a message.
SEND_MESSAGE - Enum constant in enum class madkit.message.hook.HookMessage.AgentActionEvent
The send message.
SenderRoleFilter - Class in madkit.messages
A filter that accepts message based on the sender's role.
SenderRoleFilter(String, String, String) - Constructor for class madkit.messages.SenderRoleFilter
a new filter that acts according to the sender's CGR location.
sendWaitReply(Message, String, String, 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.
sendWithRole(Message, String, String, String, String) - Method in class madkit.kernel.Agent
Sends a message to an agent having this position in the organization.
sendWithRole(Message, AgentAddress, String) - Method in class madkit.kernel.Agent
Sends a message, using an agent address, specifying explicitly the role used to send it.
sendWithRoleWaitReply(Message, String, String, String, 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.
sendWithRoleWaitReply(Message, AgentAddress, String, Integer) - Method in class madkit.kernel.Agent
Sends a message and waits for an answer to it.
setActionData(ActionData) - Method in class madkit.action.ActionWithData
Sets the action data for this action.
setBackground(Color) - Method in class madkit.gui.FXOutputPane
Sets the background color of the text area
setBackground(Color) - Method in class madkit.simulation.viewer.CanvasDrawerGUI
Sets the background color of the canvas.
setCanvasSize(int, int) - Method in class madkit.simulation.viewer.CanvasDrawerGUI
Sets the size of the canvas.
setCurrentTime(T) - Method in class madkit.simulation.scheduler.SimuTimer
Sets the current time object
setDefaultInterval(Duration) - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Sets the default interval between activations.
setDefaultTemporalUnit(ChronoUnit) - Method in class madkit.simulation.scheduler.DateBasedTimer
Sets the default temporal unit for date increments.
setEndTime(T) - Method in class madkit.simulation.scheduler.SimuTimer
Sets the ending time object
setGUI(ViewerDefaultGUI) - Method in class madkit.simulation.Viewer
Sets the GUI of this viewer.
setHeadlessMode(boolean) - Static method in class madkit.internal.FXInstance
If set to true, the application will run in headless mode and will not start the JavaFX application.
setHeight(int) - Method in class madkit.simulation.environment.Environment2D
Sets the height of the environment.
setMaxXDataPoints(int) - Method in class madkit.simulation.viewer.LineChartDrawer
Sets the maximum number of data points to display on the x-axis
setNextActivationDate(LocalDateTime) - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Sets the next date at which the activator will be triggered.
setPaintOver(boolean) - Method in class madkit.simulation.viewer.Viewer2D
Sets the paint over mode.
setParallelMode(boolean) - Method in class madkit.simulation.scheduler.MethodActivator
Sets the activator in parallel mode.
setPause(int) - Method in class madkit.kernel.Scheduler
Sets the delay between two simulation steps.
setPriority(int) - Method in class madkit.kernel.Activator
Sets the priority of the activator.
setPRNGSeedIndex(int) - Method in class madkit.simulation.SimuLauncher
Sets the seed which is used to create a PRNG.
setPropertyValue(Agent, T) - Method in class madkit.simulation.PropertyProbe
Should be used to work with primitive types or fields which are initially null.
setRandomGnerator(RandomGenerator) - Method in class madkit.simulation.SimuLauncher
Sets the pseudo random number generator that has to be used by the simulation.
setRenderingOff(boolean) - Method in class madkit.simulation.viewer.ViewerDefaultGUI
Enable or disable the renderingOff activity
setShufflingMode(boolean) - Method in class madkit.simulation.scheduler.MethodActivator
Sets whether the activation list should be shuffled before execution.
setSimulationTime(T) - Method in class madkit.kernel.Scheduler
Sets the simulation time of the simulation.
setStarted(boolean) - Static method in class madkit.internal.FXInstance
 
setStartTime(T) - Method in class madkit.simulation.scheduler.SimuTimer
Sets the starting time
setSynchroPainting(boolean) - Method in class madkit.simulation.viewer.ViewerDefaultGUI
Enable or disable the synchronous painting
setTimeFormat(String) - Method in class madkit.simulation.scheduler.SimuTimer
Sets the formatting of the current time as specified in Formatter.
setupDefaultGUI() - Method in class madkit.kernel.Agent
Creates a default frame for the agent.
setValue(Double) - Method in class madkit.gui.SliderEditor
Sets the value.
setWidth(int) - Method in class madkit.simulation.environment.Environment2D
Sets the width of the environment.
SEVERE - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Returned on special errors.
SHUTDOWN - Enum constant in enum class madkit.action.SchedulingAction
Makes the scheduler stop the simulation
SHUTDOWN - Enum constant in enum class madkit.kernel.Scheduler.SimulationState
The simulation is stopped.
SIMU_COMMUNITY - Static variable in class madkit.simulation.SimuOrganization
The value of this constant is "SIMU".
SimuAgent - Class in madkit.simulation
An agent class designed to be used with the default simulation engine provided by this package.
SimuAgent() - Constructor for class madkit.simulation.SimuAgent
 
SimuEnvironment - Class in madkit.simulation
This class represents an environment in which agents evolve.
SimuEnvironment() - Constructor for class madkit.simulation.SimuEnvironment
 
SimuException - Exception Class 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.
SimuException(String, Throwable) - Constructor for exception class madkit.simulation.SimuException
Instantiates a new simu exception.
SimuLauncher - Class in madkit.simulation
Main class for launching a simulation.
SimuLauncher() - Constructor for class madkit.simulation.SimuLauncher
Default constructor.
SimuModel - Class in madkit.simulation
This class is a simulation engine agent that could be used to implement some common parts of a simulation model.
SimuModel() - Constructor for class madkit.simulation.SimuModel
 
SimuOrganization - Class in madkit.simulation
The default groups and roles used by the simulation engine for the organization of a simulation community.
SimuOrganization() - Constructor for class madkit.simulation.SimuOrganization
 
SimuTimer<T> - Class in madkit.simulation.scheduler
Class representing time in a simulation.
SimuTimer(T, T) - Constructor for class madkit.simulation.scheduler.SimuTimer
Creates a new timer.
size() - Method in class madkit.kernel.Community
Returns the number of groups in the community.
size() - Method in class madkit.kernel.Group
Returns the number of roles in this group.
size() - Method in class madkit.kernel.Mailbox
Returns the number of messages in the mailbox.
size() - Method in class madkit.kernel.Activator
Returns the number of targeted agents.
size() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Returns the number of targeted agents.
size() - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Returns the number of targeted agents.
size() - Method in class madkit.simulation.scheduler.MethodActivator
Returns the number of targeted agents.
size() - Method in class madkit.kernel.Probe
Returns the number of targeted agents.
size() - Method in class madkit.simulation.PropertyProbe
Returns the number of targeted agents.
size() - Method in class madkit.kernel.Role
Returns the number of agents playing this role
SliderEditor - Class in madkit.gui
A property editor for editing double values using a Slider.
SliderEditor(PropertySheet.Item) - Constructor for class madkit.gui.SliderEditor
Constructs a new SliderEditor for the given item.
SliderProperty - Annotation Interface in madkit.gui
Annotation to specify which fields, among those annotated with UIProperty, should be displayed as sliders when using PropertySheetFactory methods to create a PropertySheet Sliders from JavaFX only work with double values, so the annotated field must be of type double.
startFX(Logger) - Static method in class madkit.internal.FXInstance
Starts the JavaFX application if it is not already started and not in headless mode.
startSimulation() - Method in class madkit.simulation.SimuLauncher
Start simulation.
STEP - Enum constant in enum class madkit.action.SchedulingAction
Makes the scheduler do one step of the simulation
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.
streamValues() - Method in class madkit.simulation.PropertyProbe
Returns a stream of the values of the property for each agent.
StringMessage - Class in madkit.messages
A message class that conveys a string.
StringMessage() - Constructor for class madkit.messages.StringMessage
Builds a new message containing an empty string
StringMessage(String) - Constructor for class madkit.messages.StringMessage
Builds a new message containing the string s
SUCCESS - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Indicates that the operation has succeeded
SYSTEM - Static variable in class madkit.agr.LocalCommunity.Groups
The value of this constant is "system".
SystemRoles - Class in madkit.agr
Defines key roles used by the MaDKit kernel or regular agents to achieve specific CGR queries.

T

talk(String) - Method in class madkit.kernel.AgentLogger
Logs a AgentLogger.TALK message.
TALK - Static variable in class madkit.kernel.AgentLogger
Defines the default file formatter as : LOG_LEVEL : message
TERMINATED - Enum constant in enum class madkit.i18n.Words
Represents the keyword "TERMINATED".
test(Message) - Method in class madkit.messages.ConversationFilter
A filter that acts according to the conversationID of a message.
TextAreaHandler - Class in madkit.logging
This class extends the Handler class to provide a custom log handler that outputs log records to a JavaFX TextArea.
TextAreaHandler(TextArea) - Constructor for class madkit.logging.TextAreaHandler
Constructs a new TextAreaHandler with the specified TextArea.
TickBasedScheduler - Class in madkit.simulation.scheduler
A scheduler that uses a TickBasedTimer to simulate the time.
TickBasedScheduler() - Constructor for class madkit.simulation.scheduler.TickBasedScheduler
 
TickBasedTimer - Class in madkit.simulation.scheduler
A timer based on ticks for simulation purposes.
TickBasedTimer() - Constructor for class madkit.simulation.scheduler.TickBasedTimer
Constructs a TickBasedTimer with an initial tick value of BigDecimal.ZERO.
TickBasedTimer(BigDecimal) - Constructor for class madkit.simulation.scheduler.TickBasedTimer
Constructs a TickBasedTimer with the specified initial tick value and an end tick value of Double.MAX_VALUE.
TickBasedTimer(BigDecimal, BigDecimal) - Constructor for class madkit.simulation.scheduler.TickBasedTimer
Constructs a TickBasedTimer with the specified initial and end tick values.
TIMEOUT - Enum constant in enum class madkit.kernel.Agent.ReturnCode
Returned by various timed primitives of the Agent class like Agent.sendWaitReply(Message, String, String, String, Integer) or Agent.launchAgent(Agent, int)
ToolBars - Class in madkit.gui
This class provides utility methods to create tool bars for agents
toString() - Method in enum class madkit.i18n.ErrorMessages
Returns the name of the error message followed by a space.
toString() - Method in enum class madkit.i18n.Words
Returns the name of this enum constant, as contained in the declaration.
toString() - Method in class madkit.kernel.Activator
 
toString() - Method in class madkit.kernel.Agent
To string.
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
Returns a string representation of the conversation ID.s
toString() - Method in class madkit.kernel.Group
Returns a string representation of the group.
toString() - Method in class madkit.kernel.KernelAddress
Returns a simplified string representation for this platform address
toString() - Method in class madkit.kernel.KernelConfig
Returns a string representation of the configuration.
toString() - Method in class madkit.kernel.MadkitClassLoader
 
toString() - Method in class madkit.kernel.Mailbox
 
toString() - Method in class madkit.kernel.Message
Returns a string representation of the 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.simulation.PropertyProbe
returns a string containing the CGR location and the number of monitored agents.
toString() - Method in class madkit.kernel.Role
Returns a string representation that includes the community, group, and role names.
toString() - Method in class madkit.kernel.Watcher
Returns the watcher's name followed by the list of probes it holds if any.
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.messages.EnumMessage
To string.
toString() - Method in class madkit.messages.ObjectMessage
Returns a string representation of the message.
toString() - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventActivator
Returns a string representation of the activator, including the next activation date.
toString() - Method in class madkit.simulation.scheduler.DiscreteEventAgentsActivator
Returns a string representation of the activator, including the next activation date.
toString() - Method in class madkit.simulation.scheduler.MethodActivator
 
toString() - Method in class madkit.simulation.scheduler.SimuTimer
To string.
TUTORIALS - Enum constant in enum class madkit.i18n.Words
Represents the keyword "TUTORIALS".

U

UIProperty - Annotation Interface in madkit.gui
Annotation to mark a field as a parameter in GUI built using predefined JavaFX agents GUI such as DefaultAgentGUI.
updateActivatorRanking(Activator) - Method in class madkit.simulation.scheduler.DateBasedDiscreteEventScheduler
Should be used when an activator changes its next event date so that the new one is earlier.

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.KernelAction
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.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.Agent.ReturnCode
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.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.SchedulingAction
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.Agent.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.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.
values() - Element in annotation interface madkit.random.RandomizedString
 
Viewer - Class in madkit.simulation
A Viewer is a Watcher that is designed to display simulation states on screen.
Viewer() - Constructor for class madkit.simulation.Viewer
 
VIEWER_ROLE - Static variable in class madkit.simulation.SimuOrganization
The value of this constant is "VIEWER".
Viewer2D - Class in madkit.simulation.viewer
A viewer that displays a 2D environment.
Viewer2D() - Constructor for class madkit.simulation.viewer.Viewer2D
 
ViewerDefaultGUI - Class in madkit.simulation.viewer
This class provides a default GUI for a viewer agent.
ViewerDefaultGUI(Viewer) - Constructor for class madkit.simulation.viewer.ViewerDefaultGUI
Creates a new ViewerDefaultGUI for the given viewer.
viewers() - Element in annotation interface madkit.simulation.EngineAgents
The viewers classes of the simulation.

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.
waitAnswers(Message, int, Integer) - Method in class madkit.kernel.Mailbox
Returns the next howMany messages that are replies to the origin message, waiting for ever if necessary until howMany replies become available.
waitMessages(Integer, int, Predicate<M>) - Method in class madkit.kernel.Mailbox
Returns the next howMany messages that match the filter, waiting for ever if necessary until howMany matching messages become available.
waitNext() - Method in class madkit.kernel.Mailbox
This method is the blocking version of nextMessage().
waitNext(long) - Method in class madkit.kernel.Mailbox
Wait next message.
waitNext(Integer, Predicate<M>) - Method in class madkit.kernel.Mailbox
This method gets the next message of the mailbox or waits for a new incoming acceptable message up to a certain delay.
waitNext(Predicate<M>) - Method in class madkit.kernel.Mailbox
Retrieves and removes the next message that complies with the filter, waiting for ever if necessary until a matching message 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.
Watcher - Class in madkit.kernel
A Watcher is an agent that is designed to be part of a simulation engine to monitor and explore agents' internal properties.
Watcher() - Constructor for class madkit.kernel.Watcher
 
WATCHER_ROLE - Static variable in class madkit.simulation.SimuOrganization
The value of this constant is "WATCHER".
Words - Enum Class in madkit.i18n
Enum containing keys, for some useful words, that has to be used with the i18n mechanism.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form