Class MixedExamples

java.lang.Object
jline.examples.java.basic.MixedExamples

public class MixedExamples extends Object
Mixed queueing network examples mirroring the example notebooks in mixedQN.

Contains Java implementations that mirror the example notebooks found in jar/src/main/java/jline/examples/java/basic/mixedQN/. Each method demonstrates a specific mixed queueing network concept using models from the basic package.

The examples cover: - Basic mixed networks combining open and closed classes - Multi-server systems with different scheduling strategies - Performance comparison between FCFS and PS scheduling - Large population systems and scalability analysis

  • Constructor Details

    • MixedExamples

      public MixedExamples()
  • Method Details

    • mqn_basic

      public static void mqn_basic() throws Exception
      Basic mixed open/closed network (mqn_basic.ipynb).

      Demonstrates a fundamental mixed network combining open arrivals with a circulating closed population, comparing multiple solvers.

      Features: - One closed class (2 jobs) and one open class - Delay node with Erlang service for closed, HyperExp for open - PS queue shared by both classes with different service distributions - Multiple solver comparison (CTMC, JMT, SSA, Fluid, MVA, NC, MAM)

      Throws:
      Exception - if solver fails
    • mqn_multiserver_fcfs

      public static void mqn_multiserver_fcfs() throws Exception
      Mixed network with FCFS multi-server queues (mqn_multiserver_fcfs.ipynb).

      Demonstrates mixed networks with multiple servers using FCFS scheduling, showing capacity effects on mixed traffic.

      Features: - 5 multi-server FCFS queues with different capacities (1-5 servers) - Closed class (3 jobs) and open class with separate routing - Multiple solver comparison (CTMC, JMT, SSA, MVA, MAM) - Different service rates for each class

      Throws:
      Exception - if solver fails
    • mqn_multiserver_ps

      public static void mqn_multiserver_ps() throws Exception
      Mixed network with PS multi-server queues (mqn_multiserver_ps.ipynb).

      Demonstrates mixed networks with processor sharing scheduling across multiple servers (1-5 servers per queue).

      Features: - 5 multi-server PS queues with different capacities - Closed class (3 jobs) and open class with separate routing - Different service rates optimized for server counts - Multiple solver comparison (CTMC, JMT, MVA, MAM)

      Throws:
      Exception - if solver fails
    • mqn_singleserver_fcfs

      public static void mqn_singleserver_fcfs() throws Exception
      Mixed FCFS network with large closed population (mqn_singleserver_fcfs.ipynb).

      Demonstrates scalability with large closed populations and high-variability open arrivals under FCFS scheduling.

      Features: - Large closed population (100 jobs) with 4 FCFS queues - High-variability APH arrivals (mean=3, SCV=64) for open class - CTMC/SSA avoided due to infinite state space with high population - Multiple solver comparison (JMT, MVA, NC, MAM)

      Throws:
      Exception - if solver fails
    • mqn_singleserver_ps

      public static void mqn_singleserver_ps() throws Exception
      Mixed PS network with simplified routing (mqn_singleserver_ps.ipynb).

      Demonstrates processor sharing in mixed networks with large closed populations and simplified open routing.

      Features: - Large closed population (100 jobs) with 4 PS queues - Exponential arrivals (rate=0.3) for open class - PS scheduling provides fairness under high congestion - Multiple solver comparison (JMT, SSA, Fluid, MVA, NC, MAM)

      Throws:
      Exception - if solver fails
    • main

      public static void main(String[] args) throws Exception
      Main method demonstrating all mixed queueing network examples.

      Executes all example methods to showcase the different mixed network concepts and scheduling comparisons available in LINE.

      Parameters:
      args - command line arguments (not used)
      Throws:
      Exception - if any example fails