Package jmt.gui.common.classSwitch

Examples of jmt.gui.common.classSwitch.ClassSwitch


   switch matrix of station @stationKey.
   */
  @Override
  public float getClassSwitchMatrix(Object stationKey, Object classInKey, Object classOutKey) {
    StationClassData current = (StationClassData) stationDetailsBDM.get(classInKey, stationKey);
    ClassSwitch row = (ClassSwitch) current.classSwitchProb;
    return row.getValue(classInKey, classOutKey);
  }
View Full Code Here


  @Override
  public void setClassSwitchMatrix(Object stationKey, Object classInKey, Object classOutKey, float val) {
    if(val != getClassSwitchMatrix(stationKey, classInKey, classOutKey))
      save = true;
    StationClassData current = (StationClassData) stationDetailsBDM.get(classInKey, stationKey);
    ClassSwitch row = (ClassSwitch) current.classSwitchProb;
    row.setValue(classInKey, classOutKey, val);
  }
View Full Code Here

TOP

Related Classes of jmt.gui.common.classSwitch.ClassSwitch

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.