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 TypeMethodDescriptionvoidshowEndTime(double time) Shows the end time of the simulation.voidupdateServicePointSums(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.voidvisualizeCustomer(int customer, int listSize) Visualizes the specified customer.voidvisualizeRemoveCustomers(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 0c1- the sum of customers at service point 1c2- the sum of customers at service point 2c3- the sum of customers at service point 3c4- the sum of customers at service point 4c5- the sum of customers at service point 5
-