Package jmt.framework.gui.graph

Examples of jmt.framework.gui.graph.WhatIfPlot$PlotPopupMenu


    // Puts graph in the right panel
    // Creates label for X-axis
    String xLabel = "";
    if (model.getWhatIfClass() >= 0) {
      graph = new WhatIfPlot(model.getWhatIfValues());
      if (model.getWhatIfType().equals(ExactConstants.WHAT_IF_ARRIVAL)) {
        xLabel = "Arrival rate \u03bbi for " + model.getClassNames()[model.getWhatIfClass()] + " [job/s]";
      } else if (model.getWhatIfType().equals(ExactConstants.WHAT_IF_CUSTOMERS)) {
        xLabel = "Number of customers Ni for " + model.getClassNames()[model.getWhatIfClass()];
      } else if (model.getWhatIfType().equals(ExactConstants.WHAT_IF_DEMANDS)) {
        xLabel = "Service demand Di for " + model.getClassNames()[model.getWhatIfClass()] + " at "
            + model.getStationNames()[model.getWhatIfStation()] + " [s]";
      } else if (model.getWhatIfType().equals(ExactConstants.WHAT_IF_MIX)) {
        xLabel = "Population mix \u03b2i for " + model.getClassNames()[model.getWhatIfClass()];
      }
    } else {
      graph = new WhatIfPlot(ArrayUtils.multiply(model.getWhatIfValues(), 100.0));
      if (model.getWhatIfType().equals(ExactConstants.WHAT_IF_ARRIVAL)) {
        xLabel = "% of arrival rates \u03bbi w.r.t. initial values";
      } else if (model.getWhatIfType().equals(ExactConstants.WHAT_IF_CUSTOMERS)) {
        xLabel = "% of customers Ni w.r.t. initial values";
      } else if (model.getWhatIfType().equals(ExactConstants.WHAT_IF_DEMANDS)) {
View Full Code Here

TOP

Related Classes of jmt.framework.gui.graph.WhatIfPlot$PlotPopupMenu

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.