Interface Model


public interface Model
A base interface for the model of a simulation
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the simulation in which this model runs (if any)
    Gets the view for this model (if any)
    void
     
    void
    Sets the view for this model
    void
     
    void
     
  • Method Details

    • getSimulation

      Simulation getSimulation()
      Gets the simulation in which this model runs (if any)
    • getView

      View getView()
      Gets the view for this model (if any)
    • reset

      void reset()
      Sets the view for this model
    • initialize

      void initialize()
    • step

      void step()
    • update

      void update()