Package madkit.simulation.model
Class AbstractModel
java.lang.Object
madkit.kernel.AbstractAgent
madkit.simulation.model.AbstractModel
- All Implemented Interfaces:
Comparable<AbstractAgent>
Prototype class that will be used to encapsulate simulation models
in a near future.
- Since:
- MadKit 5.0.0.19
- Version:
- 0.9
- Author:
- Fabien Michel
-
Nested Class Summary
Nested classes/interfaces inherited from class madkit.kernel.AbstractAgent
AbstractAgent.ReturnCode, AbstractAgent.State
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetParametersView
(String label) Returns a panel containing sliders operating on all theBoundedRangeModel
fields which are found in this model.getParametersView
(String label, AbstractAgent onInstance) Returns a panel containing sliders operating on all theBoundedRangeModel
fields which are found in this model.Methods inherited from class madkit.kernel.AbstractAgent
activate, broadcastMessage, broadcastMessageWithRole, bucketModeCreateGroup, bucketModeRequestRole, checkAgentAddress, compareTo, createGroup, createGroup, createGroup, createGroupIfAbsent, createGroupIfAbsent, createGroupIfAbsent, createGUIOnStartUp, destroyCommunity, destroyGroup, destroyRole, end, executeThisAgent, executeThisAgent, executeThisAgent, getAgentAddressIn, getAgentsWithRole, getAgentsWithRole, getAgentWithRole, getDistantAgentWithRole, getExistingCommunities, getExistingGroups, getExistingRoles, getKernelAddress, getLastReceivedMessage, getLastReceivedMessage, getLogger, getMadkitConfig, getMadkitProperty, getMadkitProperty, getMyGroups, getMyRoles, getName, getNetworkID, getNextEventDate, getOrganizationSnapShot, getReplyTo, getServerInfo, getSimpleNetworkID, getSimulationTime, getState, hasGUI, hashCode, hasRole, isAlive, isCommunity, isGroup, isKernelOnline, isMadkitPropertyTrue, isMessageBoxEmpty, isRole, killAgent, killAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgent, launchAgentBucket, launchAgentBucket, launchAgentBucket, launchAgentBucket, launchNode, launchXmlAgents, leaveGroup, leaveRole, nextMessage, nextMessage, nextMessages, proceedEnumMessage, purgeMailbox, receiveMessage, reload, requestRole, requestRole, sendMessage, sendMessage, sendMessageWithRole, sendMessageWithRole, sendReply, sendReplyWithRole, setLogLevel, setMadkitProperty, setMadkitProperty, setName, setupFrame, toString
-
Constructor Details
-
AbstractModel
public AbstractModel()
-
-
Method Details
-
getParametersView
Returns a panel containing sliders operating on all theBoundedRangeModel
fields which are found in this model.- Parameters:
label
- the name of the panel- Returns:
- a panel containing sliders
-
getParametersView
Returns a panel containing sliders operating on all theBoundedRangeModel
fields which are found in this model.- Parameters:
label
- the name of the panel- Returns:
- a panel containing sliders
-