Class AbstractModel

java.lang.Object
madkit.kernel.AbstractAgent
madkit.simulation.model.AbstractModel
All Implemented Interfaces:
Comparable<AbstractAgent>

public class AbstractModel extends 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
  • Constructor Details

    • AbstractModel

      public AbstractModel()
  • Method Details

    • getParametersView

      public JPanel getParametersView(String label)
      Returns a panel containing sliders operating on all the BoundedRangeModel fields which are found in this model.
      Parameters:
      label - the name of the panel
      Returns:
      a panel containing sliders
    • getParametersView

      public JPanel getParametersView(String label, AbstractAgent onInstance)
      Returns a panel containing sliders operating on all the BoundedRangeModel fields which are found in this model.
      Parameters:
      label - the name of the panel
      Returns:
      a panel containing sliders