Class StateDepRoutingModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidMain method for testing and demonstrating state-dependent routing examples.static NetworkSingle-class closed network with round-robin routing.static NetworkOpen network with load balancing router.static NetworkMulti-class closed network with MAP and APH service processes.
-
Constructor Details
-
StateDepRoutingModel
public StateDepRoutingModel()
-
-
Method Details
-
sdroute_closed
Single-class closed network with round-robin routing.Features: - Single closed class with 1 job - Delay node with high-variability HyperExp service (SCV=25) - Two PS queues with different service rates (1.0 and 2.0) - Round-robin routing from delay to queues - Demonstrates basic state-dependent routing behavior
- Returns:
- configured state-dependent routing model
-
sdroute_twoclasses_closed
Multi-class closed network with MAP and APH service processes.Features: - Two closed classes: Class1 (1 job), Class2 (2 jobs) - Advanced service processes: APH, PH, MAP distributions - Renewal (APH, PH) and non-renewal (MAP) service processes - Mixed scheduling: PS Queue1, FCFS Queue2 - Round-robin routing for both classes from delay - Demonstrates advanced stochastic processes in routing
- Returns:
- configured advanced state-dependent routing model
-
sdroute_open
Open network with load balancing router.Features: - Open network: Source → Router → Queues → Sink - Router uses round-robin strategy for load balancing - Two FCFS queues with identical service rates (0.5) - Exponential arrivals (rate 1.0) distributed evenly - Demonstrates state-dependent load balancing in open systems
- Returns:
- configured open load balancing model
-
main
Main method for testing and demonstrating state-dependent routing examples.Currently configured to: - Run sdroute_twoclasses_closed() with advanced service processes - Solve using JMT solver and print average performance metrics
- Parameters:
args- command line arguments (not used)- Throws:
Exception- if solver encounters an error
-