Class ResultsPanelScheduling

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ResultsPanelScheduling extends ResultsPanel
Panel for showing the results of the Scheduling simulations
Author:
Lorenzo Torri Date: 29-apr-2024 Time: 20.10
See Also:
  • Constructor Details

    • ResultsPanelScheduling

      public ResultsPanelScheduling(MainWizard main)
  • Method Details

    • addResult

      public void addResult(String typeRes, int generatedJob, String algorithm, String arrivalDistr, double lambda, String serviceDistr, int nServers, double service, double responseTime, double queueTime, double thoughput, double nCustomer)
      Description copied from class: ResultsPanel
      Method called by the MainWizard to update the Result Panel for SCHEDULING
      Overrides:
      addResult in class ResultsPanel
      Parameters:
      typeRes - if the result is the one from JSIM or from the Animation
      generatedJob - the number of jobs used for this result
      algorithm - queue algorithm of the animation
      arrivalDistr - arrival time distribution
      lambda - the inter arrival time
      serviceDistr - service time distribution
      nServers - number of servers in the station
      service - service time
      responseTime - response time
      queueTime - queue time
      thoughput - thoughput
      nCustomer - customer numbers
    • updateResult

      public void updateResult(int generatedJob, double responseTime, double queueTime, double thoughput, double nCustomer)
      Description copied from class: ResultsPanel
      Update the result of the ANIMSimulation
      Overrides:
      updateResult in class ResultsPanel
      Parameters:
      responseTime -
      queueTime -
      thoughput -
      nCustomer -
    • initGUI

      public void initGUI()
    • getRows

      public int getRows()