Class StateDepRoutingExamples
-
- All Implemented Interfaces:
public class 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 Constructor Description StateDepRoutingExamples()
-
Method Summary
Modifier and Type Method Description static void
sdroute_closed()
Demonstrates state-dependent routing in a closed network (sdroute_closed.ipynb). static void
sdroute_open()
Demonstrates state-dependent routing in an open network (sdroute_open.ipynb). static void
sdroute_twoclasses_closed()
Demonstrates state-dependent routing with two classes in a closed network (sdroute_twoclasses_closed.ipynb). static void
main(Array<String> args)
Main method to run all state-dependent routing examples. -
-
Method Detail
-
sdroute_closed
static void 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
-
sdroute_open
static void 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
-
sdroute_twoclasses_closed
static void 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
-
-
-
-