Contents |
Migrate from JAgent to Janus
This page provides a mapping of the JAgent features to the Janus features.
Because JAgent is not an organizational platform, only agent-based features are mapped. Of course you are able to update you code to use roles instead of hard-coded behaviors in agents.
The version of JAgent described on this page is the 0.3.2.
Legend
The following colors indicates the type of support by Janus of the features:
- green: fully supported JAgent feature.
- orange: supported JAgent feature by an extension or a specific kernel usage.
- brown: supported JAgent feature, but hidden to Janus users.
- red: discarted JAgent feature.
General Mapping
| JAgent | Janus |
|---|---|
| AbstractJAgentMenuBar | |
| AbstractJAgentMenuBarController | |
| AbstractJAgentView | |
| AbstractParameter | |
| AbstractParameterController | |
| AbstractSquare | see Jaak, or JaSIM |
| AbstractSquareView | |
| AbstractSystemView | |
| AbstractWalledSystem | see Jaak, or JaSIM |
| AbstractWalledSystemView | see Jaak, or JaSIM |
| AlgorithmLauncher | |
| JAgentButton | |
| JAgentComboBox | |
| JAgentDialog | |
| JAgentFileChooser | |
| JAgentLabel | |
| JAgentOptionPane | |
| JAgentRadioButton | |
| JAgentView | |
| Requirement |
|
Mapping to Agent Context
The following tables permit to retreive the Janus features in an agent context (Agent or Kernel agent) of the JAgent features.
Let Agent class extends RolePlayer, so that all functions available for RolePlayer are also available for Agent.
Let KernelAgent class extends Agent, so that all functions available for Agent are also available for KernelAgent.
AbstractAgent
| JAgent | Janus | |
|---|---|---|
| Class | Function | |
| getSquare () | see Jaak, or JaSIM | |
| getX () | see Jaak, or JaSIM | |
| getY () | see Jaak, or JaSIM | |
| move (AbstractSquare) | see Jaak, or JaSIM | |
| move (char) | see Jaak, or JaSIM | |
| tryToGive () | see Jaak, or JaSIM
| |
External References
- [1] JAgent website


