Package jmt.gui.common.definitions.parametric

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


        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;
      if (stpa.isSingleClass()) {
        return stpa.getReferenceClassName() + " service time at " + stpa.getReferenceStationName() + " [s]";
      } else {
        return "Ratio between assumed service time at " + stpa.getReferenceStationName() + " and the initial one [%]";
      }
    } else {
      return "Not defined";
    }
  }
View Full Code Here


          columnName = twoDecFormat.format(val) + " %";
        }
      }
      //if single class return the value, else return the percentage
      else if (pad.getType().equals(PA_TYPE_SERVICE_TIMES)) {
        ServiceTimesParametricAnalysis stpa = (ServiceTimesParametricAnalysis) pad;
        Vector<Number> assumedValues = stpa.getParameterValues();
        if (stpa.isSingleClass()) {
          Object temp = assumedValues.get(index);
          double val = ((Double) temp).doubleValue();
          columnName = threeDecFormat.format(val) + " s";
        } else {
          Object temp = assumedValues.get(index);
View Full Code Here

TOP

Related Classes of jmt.gui.common.definitions.parametric.ServiceTimesParametricAnalysis

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.