Class StateDepRoutingExamples

java.lang.Object
jline.examples.java.advanced.StateDepRoutingExamples

public class StateDepRoutingExamples extends Object
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 Details

    • StateDepRoutingExamples

      public StateDepRoutingExamples()
  • Method Details

    • sdroute_closed

      public static void sdroute_closed() throws Exception
      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

      public static void sdroute_open() throws Exception
      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

      public static void sdroute_twoclasses_closed() throws Exception
      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

      public static void main(String[] args)
      Main method to run all state-dependent routing examples.
      Parameters:
      args - command line arguments (not used)