Class MixedExamples
-
- All Implemented Interfaces:
public class MixedExamplesMixed queueing network examples mirroring the Kotlin notebooks in mixedQN.
This class contains Java implementations that mirror the Kotlin notebook examples found in jar/src/main/kotlin/jline/examples/kotlin/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 Summary
Constructors Constructor Description MixedExamples()
-
Method Summary
Modifier and Type Method Description static voidmqn_basic()Basic mixed open/closed network (mqn_basic.ipynb). static voidmqn_multiserver_fcfs()Mixed network with FCFS multi-server queues (mqn_multiserver_fcfs.ipynb). static voidmqn_multiserver_ps()Mixed network with PS multi-server queues (mqn_multiserver_ps.ipynb). static voidmqn_singleserver_fcfs()Mixed FCFS network with large closed population (mqn_singleserver_fcfs.ipynb). static voidmqn_singleserver_ps()Mixed PS network with simplified routing (mqn_singleserver_ps.ipynb). static voidmain(Array<String> args)Main method demonstrating all mixed queueing network examples. -
-
Method Detail
-
mqn_basic
static void mqn_basic()
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)
-
mqn_multiserver_fcfs
static void mqn_multiserver_fcfs()
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
-
mqn_multiserver_ps
static void mqn_multiserver_ps()
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)
-
mqn_singleserver_fcfs
static void mqn_singleserver_fcfs()
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)
-
mqn_singleserver_ps
static void mqn_singleserver_ps()
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)
-
-
-
-