Package jline.examples.java.advanced
Class StateDepRoutingExamples
java.lang.Object
jline.examples.java.advanced.StateDepRoutingExamples
Examples demonstrating state-dependent routing in queueing networks.
This class provides Java implementations corresponding to the Kotlin notebooks
in jline.examples.kotlin.advanced.stateDepRouting package.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidMain method to run all state-dependent routing examples.static voidDemonstrates state-dependent routing in a closed network (sdroute_closed.ipynb).static voidDemonstrates state-dependent routing in an open network (sdroute_open.ipynb).static voidDemonstrates state-dependent routing with two classes in a closed network (sdroute_twoclasses_closed.ipynb).
-
Constructor Details
-
StateDepRoutingExamples
public StateDepRoutingExamples()
-
-
Method Details
-
sdroute_closed
Demonstrates state-dependent routing in a closed network (sdroute_closed.ipynb). This example shows how routing decisions can depend on the current state of the system, such as queue lengths or server utilization. This models load balancing strategies that adapt to current system conditions. Features: - Routing probabilities dependent on queue states - Dynamic load balancing in closed networks - Comparison with static routing strategies - Analysis of adaptation effectiveness- Throws:
Exception- if the solver encounters an error
-
sdroute_open
Demonstrates state-dependent routing in an open network (sdroute_open.ipynb). This example extends state-dependent routing to open networks where customers arrive from external sources. The routing decisions adapt to system load to minimize response times or balance utilization. Features: - Adaptive routing for external arrivals - Queue-length based routing decisions - Overflow and alternate path routing - Performance under varying loads- Throws:
Exception- if the solver encounters an error
-
sdroute_twoclasses_closed
Demonstrates state-dependent routing with two classes in a closed network (sdroute_twoclasses_closed.ipynb). This example shows how state-dependent routing can be class-specific, allowing different customer types to have different routing strategies based on their priorities or service requirements. Features: - Class-specific routing strategies - Multi-class state-dependent decisions - Priority-aware load balancing - Analysis of class interaction effects- Throws:
Exception- if the solver encounters an error
-
main
Main method to run all state-dependent routing examples.- Parameters:
args- command line arguments (not used)
-