Package jmt.gui.exact.panels

Examples of jmt.gui.exact.panels.AlgorithmPanel


      selector = new IterationSelector(data);
    }
    /* EDITED by Abhimanyu Chugh */
    if (selector != null && data.isClosed() && data.isWhatifAlgorithms()) {
      for (SolverAlgorithm algorithm : data.getWhatifAlgorithms()) {
        AlgorithmPanel algPanel = new AlgorithmPanel(this, algorithm);
        algPanel.addSolutionPanel(new ThroughputPanel(this, algorithm));
        algPanel.addSolutionPanel(new QueueLenPanel(this, algorithm));
        algPanel.addSolutionPanel(new ResTimePanel(this, algorithm));
        algPanel.addSolutionPanel(new SystemRespTimePanel(this, algorithm));
        algPanel.addSolutionPanel(new UtilizationPanel(this, algorithm));
        //Added by ASHANKA START
        // for System Power
        algPanel.addSolutionPanel(new SysPowerPanel(this, algorithm));
        //Added by ASHANKA STOP
        selector.addSolutionPanel(algPanel);
      }
      jtp.add(selector);
    } else if (selector != null && data.isClosed()) {
      SolverAlgorithm algorithm = data.getAlgorithmType();
      AlgorithmPanel algPanel = new AlgorithmPanel(this, algorithm);
      algPanel.addSolutionPanel(new ThroughputPanel(this, algorithm));
      algPanel.addSolutionPanel(new QueueLenPanel(this, algorithm));     
      algPanel.addSolutionPanel(new ResTimePanel(this, algorithm));
      algPanel.addSolutionPanel(new SystemRespTimePanel(this, algorithm));
      algPanel.addSolutionPanel(new UtilizationPanel(this, algorithm));
      //Added by ASHANKA START
      // for System Power
      algPanel.addSolutionPanel(new SysPowerPanel(this, algorithm));
      //Added by ASHANKA STOP
      selector.addSolutionPanel(algPanel);
      /*
      selector.addSolutionPanel(throughput);
      selector.addSolutionPanel(queuelength);
 
View Full Code Here

TOP

Related Classes of jmt.gui.exact.panels.AlgorithmPanel

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.