Class ClosedModel
-
- All Implemented Interfaces:
public class ClosedModel
Examples of closed queueing networks
-
-
Constructor Summary
Constructors Constructor Description ClosedModel()
-
Method Summary
Modifier and Type Method Description static Network
cqn_repairmen()
Simple closed network with a delay node and FCFS queue. static Network
cqn_twoclass_hyperl()
Two-class closed network with class switching. static Network
cqn_threeclass_hyperl()
Three-class closed network with multi-server PS queue. static Network
cqn_multiserver()
Four-class closed network with multiple FCFS queues. static Network
cqn_oneline()
Two-class closed network with four-node cyclic topology. static Network
cqn_twoclass_erl()
Closed network with class switching using probabilistic routing. static Network
cqn_bcmp_theorem_fcfs()
Two-class FCFS network demonstrating First-Come-First-Served scheduling. static Network
cqn_bcmp_theorem_lcfspr()
Two-class LCFSPR network demonstrating Last-Come-First-Served Preemptive Resume. static Network
cqn_bcmp_theorem_ps()
Simple two-class PS network for processor sharing demonstration. static Network
cqn_repairmen_multi()
Two-class closed network with multi-server queue. static Network
cqn_twoqueues_multi()
Two-class three-node closed network with serial topology. static Network
cqn_twoqueues()
Single-class closed network with reducible routing matrix. static Network
cqn_scheduling_dps()
Mixed scheduling strategies with probabilistic routing. static Network
cqn_mmpp2_service()
APH service distributions with complex routing patterns. static void
main(Array<String> args)
Main method for testing and demonstrating closed model examples. -
-
Method Detail
-
cqn_repairmen
static Network cqn_repairmen()
Simple closed network with a delay node and FCFS queue.
Features: - Single closed class with 10 jobs - Delay node with exponential service (mean 1.0) - FCFS queue with exponential service (mean 1.5) - Probabilistic routing: 70% self-loop at delay, 30% to queue
- Returns:
configured closed network model
-
cqn_twoclass_hyperl
static Network cqn_twoclass_hyperl()
Two-class closed network with class switching.
Features: - Two closed classes with 2 jobs each - Delay node with Erlang and HyperExp distributions - PS (Processor Sharing) queue - Class switching between Class1 and Class2
- Returns:
configured closed network model
-
cqn_threeclass_hyperl
static Network cqn_threeclass_hyperl()
Three-class closed network with multi-server PS queue.
Features: - Three closed classes with populations [2, 0, 1] - Two-server PS queue - Mixed service distributions (Erlang, HyperExp, Exp) - Complex class switching patterns - Uses circular routing matrix for Class3
- Returns:
configured closed network model
-
cqn_multiserver
static Network cqn_multiserver()
Four-class closed network with multiple FCFS queues.
Features: - Four closed classes with populations [2, 2, 2, 1] - Three nodes: Delay, Queue1 (3 servers), Queue2 (3 servers) - Queue2 disabled for Class1 and Class2 - Complex class switching topology - Mix of exponential and Erlang service distributions
- Returns:
configured closed network model
-
cqn_oneline
static Network cqn_oneline()
Two-class closed network with four-node cyclic topology.
Features: - Two closed classes with populations [1, 2] - Four nodes: two delays and two PS queues - Cyclic routing: Delay1 → Delay2 → Queue1 → Queue2 → Delay1 - Different service rates for each class-node combination - Equivalent to MATLAB's Network.cyclicPsInf(N,D,Z) with: - D = [10,5; 5,9] (Queue service times) - Z = [91,92; 93,94] (Delay times) - N = [1,2] (Population)
- Returns:
configured closed network model
-
cqn_twoclass_erl
static Network cqn_twoclass_erl()
Closed network with class switching using probabilistic routing.
Features: - Two closed classes with populations [15, 5] - ClassSwitch node with class switching matrix [0,1;1,0] - Mixed scheduling: PS queues and infinite server delay - Probabilistic routing strategies (RAND, RROBIN, WRROBIN) - Demonstrates advanced routing configuration
- Returns:
configured closed network model
-
cqn_bcmp_theorem_fcfs
static Network cqn_bcmp_theorem_fcfs()
Two-class FCFS network demonstrating First-Come-First-Served scheduling.
Features: - Two closed classes with 2 jobs each - Delay node with Erlang and HyperExp distributions - FCFS queue with exponential service - Simple serial routing between delay and queue
- Returns:
configured closed network model
-
cqn_bcmp_theorem_lcfspr
static Network cqn_bcmp_theorem_lcfspr()
Two-class LCFSPR network demonstrating Last-Come-First-Served Preemptive Resume.
Features: - Two closed classes with 2 jobs each - Delay node with APH (Acyclic Phase-type) distributions - LCFSPR queue with preemptive resume scheduling - Different SCV values for delay services
- Returns:
configured closed network model
-
cqn_bcmp_theorem_ps
static Network cqn_bcmp_theorem_ps()
Simple two-class PS network for processor sharing demonstration.
Features: - Two closed classes with 2 jobs each - Delay node with Erlang and HyperExp distributions - PS queue with exponential service for both classes - Simple serial routing between delay and queue
- Returns:
configured closed network model
-
cqn_repairmen_multi
static Network cqn_repairmen_multi()
Two-class closed network with multi-server queue.
Features: - Two closed classes with populations [4, 2] - Delay node with exponential service for both classes - FCFS queue with 3 servers - Different service rates (Class2 has 10x faster service)
- Returns:
configured closed network model
-
cqn_twoqueues_multi
static Network cqn_twoqueues_multi()
Two-class three-node closed network with serial topology.
Features: - Two closed classes with 10 jobs each - Three nodes: Delay, Queue1, Queue2 in series - All exponential service times with different rates - Cyclic routing: Delay → Queue1 → Queue2 → Delay
- Returns:
configured closed network model
-
cqn_twoqueues
static Network cqn_twoqueues()
Single-class closed network with reducible routing matrix.
Features: - Single closed class with 1 job - Three nodes: Delay, Queue1 (FCFS), Queue2 (FCFS) - Reducible routing matrix where Queue1 and Queue2 have self-loops - Initial routing from Delay splits between Queue1 (30%) and Queue2 (50%) - Demonstrates handling of absorbing states in routing
- Returns:
configured closed network model
-
cqn_scheduling_dps
static Network cqn_scheduling_dps()
Mixed scheduling strategies with probabilistic routing.
Features: - Two closed classes: Class1 (2 jobs), Class2 (1 job) - Three stations: Delay, PS Queue, DPS Queue - Probabilistic routing with opposite preferences per class - Class1: 30% to Queue1, 70% to Queue2 - Class2: 70% to Queue1, 30% to Queue2 - Demonstrates DPS (Discriminatory Processor Sharing) scheduling
- Returns:
configured mixed scheduling network model
-
cqn_mmpp2_service
static Network cqn_mmpp2_service()
APH service distributions with complex routing patterns.
Features: - Two closed classes (1 job each) with APH service distributions - All service times fitted using APH with specific mean and SCV values - Class1: probabilistic routing (0% self-loop, 30% Queue1, 70% Queue2) - Class2: random routing strategy - High variability service times (SCV up to 5.038) - Demonstrates APH fitting for realistic service modeling
- Returns:
configured APH-based network model
-
-
-
-