Package jmt.jmarkov.Queues.Exceptions

Examples of jmt.jmarkov.Queues.Exceptions.NonErgodicException


   *
   * @exception NonErgodicException queue is not ergodic (U > 1 o U < 0)
   */
  public double utilization() throws NonErgodicException {
    if ((lambda * s) > 1) {
      throw new NonErgodicException();
    } else {
      return (lambda * s);
    }
  }
 
View Full Code Here


   * @return
   */
  @Override
  public double utilization() throws NonErgodicException {
    if ((lambda * s) > numberOfServer) {
      throw new NonErgodicException();
    } else {
      return (lambda * s);
    }
  }
 
View Full Code Here

TOP

Related Classes of jmt.jmarkov.Queues.Exceptions.NonErgodicException

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.