Interface IControllerForM

All Known Implementing Classes:
ControllerForFxml

public interface IControllerForM
Interface for the controller that provides methods for the simulation engine.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    showEndTime(double time)
    Shows the end time of the simulation.
    void
    updateServicePointSums(int c0, int c1, int c2, int c3, int c4, int c5, int q0, int q1, int q2, int q3, int q4, int q5)
    Updates the service point sums with the specified values.
    void
    visualizeCustomer(int customer, int listSize)
    Visualizes the specified customer.
    void
    visualizeRemoveCustomers(int customer, int listSize)
    Removes the specified customer from the visualization.
  • Method Details

    • showEndTime

      void showEndTime(double time)
      Shows the end time of the simulation.
      Parameters:
      time - the end time of the simulation
    • visualizeCustomer

      void visualizeCustomer(int customer, int listSize)
      Visualizes the specified customer.
      Parameters:
      customer - the customer to visualize
    • visualizeRemoveCustomers

      void visualizeRemoveCustomers(int customer, int listSize)
      Removes the specified customer from the visualization.
      Parameters:
      customer - the customer to remove
    • updateServicePointSums

      void updateServicePointSums(int c0, int c1, int c2, int c3, int c4, int c5, int q0, int q1, int q2, int q3, int q4, int q5)
      Updates the service point sums with the specified values.
      Parameters:
      c0 - the sum of customers at service point 0
      c1 - the sum of customers at service point 1
      c2 - the sum of customers at service point 2
      c3 - the sum of customers at service point 3
      c4 - the sum of customers at service point 4
      c5 - the sum of customers at service point 5