Class RandomEnvironmentModel

java.lang.Object
jline.examples.java.advanced.RandomEnvironmentModel

public class RandomEnvironmentModel extends Object
Examples of models evolving in a random environment
  • Constructor Details

    • RandomEnvironmentModel

      public RandomEnvironmentModel()
  • Method Details

    • renv_twostages_repairmen

      public static Environment renv_twostages_repairmen()
      Basic random environment model with 2 stages and 2 stations.

      Features: - Environment with 2 stages: Stage1 (UP), Stage2 (DOWN) - Each stage has different service rates for the queueing network - Exponential transitions between environment stages - Single closed class with 1 job - Fluid solver for each environment stage - Corresponds to renv_twostages_repairmen.m in LINE

      Returns:
      configured environment model
    • renv_fourstages_repairmen

      public static Environment renv_fourstages_repairmen()
      Complex random environment model with 4 stages and 3 stations.

      Features: - Environment with 4 stages: UP, DOWN, FAST, SLOW - Varying service rates across stages and stations - Coxian transitions between environment stages (SCV=0.5) - Single closed class with 30 jobs - Higher iteration tolerance and more complex dynamics - Corresponds to renv_fourstages_repairmen.m in LINE

      Returns:
      configured complex environment model
    • renv_threestages_repairmen

      public static Environment renv_threestages_repairmen()
      Random environment model with circular transition structure.

      Features: - Environment with 3 stages: UP, DOWN, FAST - Circular transition pattern between stages - Erlang transitions with varying orders based on stage indices - Single closed class with 2 jobs - Demonstrates circular environment dynamics - Corresponds to renv_threestages_repairmen.m in LINE

      Returns:
      configured environment model
    • main

      public static void main(String[] args)
      Main method for testing and demonstrating random environment examples.

      Currently contains commented code for running environment solvers and printing average performance tables.

      Parameters:
      args - command line arguments (not used)