Class CDFRespTExamples

java.lang.Object
jline.examples.java.advanced.CDFRespTExamples

public class CDFRespTExamples extends Object
Examples demonstrating CDF (Cumulative Distribution Function) of response times. This class provides Java implementations corresponding to the Kotlin notebooks in jline.examples.kotlin.advanced.cdfRespT package.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Demonstrates CDF of response times for a closed network (cdf_respt_closed.ipynb).
    static void
    Demonstrates CDF of response times for a closed network with three classes (cdf_respt_closed_threeclasses.ipynb).
    static void
    Demonstrates CDF of response times with non-exponential distributions (cdf_respt_distrib.ipynb).
    static void
    Demonstrates CDF of response times for an open network with two classes (cdf_respt_open_twoclasses.ipynb).
    static void
    Demonstrates CDF of response times for different population sizes (cdf_respt_populations.ipynb).
    static void
    main(String[] args)
    Main method to run all CDF response time examples.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CDFRespTExamples

      public CDFRespTExamples()
  • Method Details

    • cdf_respt_closed

      public static void cdf_respt_closed() throws Exception
      Demonstrates CDF of response times for a closed network (cdf_respt_closed.ipynb). This example shows how to compute and analyze the cumulative distribution function of response times in a simple closed queueing network with one class of customers. The model consists of a delay station and a processor sharing queue. Features: - Single closed class with 10 customers - Exponential service time distributions - CDF computation using both JMT simulation and Fluid analytical approximation - Statistical moments extraction from CDF data
      Throws:
      Exception - if the solver encounters an error
    • cdf_respt_closed_threeclasses

      public static void cdf_respt_closed_threeclasses() throws Exception
      Demonstrates CDF of response times for a closed network with three classes (cdf_respt_closed_threeclasses.ipynb). This example extends the basic closed network case to handle multiple customer classes with different service requirements and routing probabilities. It shows how response time distributions vary across different classes in the same network. Features: - Three closed classes with populations 5, 3, and 2 - Class-specific service times and routing probabilities - Two PS queues with probabilistic routing - Multi-class CDF analysis
      Throws:
      Exception - if the solver encounters an error
    • cdf_respt_distrib

      public static void cdf_respt_distrib() throws Exception
      Demonstrates CDF of response times with non-exponential distributions (cdf_respt_distrib.ipynb). This example shows how to analyze response time distributions when service times follow non-exponential distributions. It uses Erlang distributions with specific squared coefficients of variation to model more deterministic service processes. Features: - Erlang service time distributions - Different coefficients of variation (0.5 and 0.25) - Impact of service time variability on response time CDF - Comparison of simulation vs. analytical approximation
      Throws:
      Exception - if the solver encounters an error
    • cdf_respt_open_twoclasses

      public static void cdf_respt_open_twoclasses() throws Exception
      Demonstrates CDF of response times for an open network with two classes (cdf_respt_open_twoclasses.ipynb). This example analyzes response time distributions in an open queueing network where customers arrive from external sources. It shows how to handle multiple open classes with different arrival rates and routing patterns. Features: - Two open classes with different arrival rates - External arrivals modeled with Source node - Class-specific routing probabilities - Response time CDF for open networks
      Throws:
      Exception - if the solver encounters an error
    • cdf_respt_populations

      public static void cdf_respt_populations() throws Exception
      Demonstrates CDF of response times for different population sizes (cdf_respt_populations.ipynb). This example explores how the response time distribution changes as the number of customers in the system varies. It creates multiple classes with populations ranging from 1 to 5 to show the impact of system load on response times. Features: - Five classes with populations 1 through 5 - Identical service parameters for comparison - Analysis of load impact on response time distribution - Demonstration of Little's Law validation
      Throws:
      Exception - if the solver encounters an error
    • main

      public static void main(String[] args)
      Main method to run all CDF response time examples.
      Parameters:
      args - command line arguments (not used)