Examples of ArrivalRateParametricAnalysis


Examples of jmt.gui.common.definitions.parametric.ArrivalRateParametricAnalysis

    } else if (pad instanceof PopulationMixParametricAnalysis) {
      return "ß of " + pad.getReferenceClassName();
    } else if (pad instanceof SeedParametricAnalysis) {
      return "Step";
    } else if (pad instanceof ArrivalRateParametricAnalysis) {
      ArrivalRateParametricAnalysis arpa = (ArrivalRateParametricAnalysis) pad;
      if (arpa.isSingleClass()) {
        return arpa.getReferenceClassName() + " arrival rate [j/s]";
      } else {
        return "Ratio between assumed arrival rate and the initial one [%]";
      }
    } else if (pad instanceof ServiceTimesParametricAnalysis) {
      ServiceTimesParametricAnalysis stpa = (ServiceTimesParametricAnalysis) pad;
View Full Code Here

Examples of jmt.gui.common.definitions.parametric.ArrivalRateParametricAnalysis

     */
    public String getColumnName(int index) {
      String columnName = "NA";
      //if single class return the value, else return the percentage
      if (pad.getType().equals(PA_TYPE_ARRIVAL_RATE)) {
        ArrivalRateParametricAnalysis arpa = (ArrivalRateParametricAnalysis) pad;
        Vector<Number> assumedValues = arpa.getParameterValues();
        if (arpa.isSingleClass()) {
          Object temp = assumedValues.get(index);
          double val = ((Double) temp).doubleValue();
          columnName = threeDecFormat.format(val) + " j/s";
        } else {
          Object temp = assumedValues.get(index);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.