Class BenchMQNTemplate

  • All Implemented Interfaces:

    
    public class BenchMQNTemplate
    
                        

    Template for MQN (Mixed Queueing Network) benchmark implementations. Aligned with MATLAB benchmarks in line-test.git/bench/bench_MQN_*. Model structure: - Open class: Source -> Delay -> Queue1 -> Queue2 -> Sink - Closed class: Delay -> Queue1 -> Queue2 -> Delay (circular)

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static Map<String, Object> runBenchmark(String benchmarkName, int iteration, double openArrival, int closedPop, SchedStrategy sched) Run a standard MQN benchmark (1 open + 1 closed class)
      static Map<String, Object> runHighPopBenchmark(String benchmarkName, int iteration, double openArrival, int closedPop, SchedStrategy sched) Run MQN benchmark with higher closed population
      static Map<String, Object> runTandemBenchmark(String benchmarkName, int iteration, double openArrival, int closedPop, SchedStrategy sched) Run a tandem MQN benchmark (longer chain)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BenchMQNTemplate

        BenchMQNTemplate()
    • Method Detail

      • runBenchmark

         static Map<String, Object> runBenchmark(String benchmarkName, int iteration, double openArrival, int closedPop, SchedStrategy sched)

        Run a standard MQN benchmark (1 open + 1 closed class)

        Parameters:
        benchmarkName - Name of the benchmark
        iteration - Iteration number
        openArrival - Arrival rate for open class
        closedPop - Population for closed class
        sched - Scheduling strategy
        Returns:

        Map containing error metrics