Class PrioModel

  • All Implemented Interfaces:

    
    public class PrioModel
    
                        

    Examples of queueing models with priorities

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      PrioModel()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static Network prio_hol_open() Open network with multiple scheduling strategies and priority classes.
      static Network prio_hol_closed() Closed network comparing scheduling strategies with priorities.
      static Network prio_psprio() Simple priority network with PSPRIO scheduling.
      static Network prio_identical() Network with GPSPRIO scheduling and multiple priority classes.
      static void main(Array<String> args) Main method for testing and demonstrating priority examples.
      • Methods inherited from class java.lang.Object

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

      • PrioModel

        PrioModel()
    • Method Detail

      • prio_hol_open

         static Network prio_hol_open()

        Open network with multiple scheduling strategies and priority classes.

        Features: - Three open classes with different priority levels (Class2 has priority 1) - Five stations with different scheduling: FCFS, SIRO, PS, HOL - HOL (Head-of-Line) queue demonstrates priority scheduling - Complex routing with 25% probability splits from central queue - All classes have identical arrival rates but different service rates - Demonstrates impact of scheduling strategies on class performance

        Returns:

        configured priority-based open network model

      • prio_hol_closed

         static Network prio_hol_closed()

        Closed network comparing scheduling strategies with priorities.

        Features: - Three closed classes (18 jobs each) with Class2 having priority 1 - Six stations: SlowDelay, FCFS, SIRO, PS, HOL queues, FastDelay - Central FCFS queue distributes traffic (25% each direction) - HOL queue provides priority service for Class2 - Cyclic topology demonstrating sustained priority effects - Identical service rates at delay stations for fair comparison

        Returns:

        configured closed priority network model

      • prio_psprio

        @NotNull() static Network prio_psprio()

        Simple priority network with PSPRIO scheduling.

        Features: - Two closed classes (2 jobs each) with Class2 having priority 1 - PSPRIO (Processor Sharing with Priorities) scheduling - Mixed service distributions: Erlang for Class1, HyperExp for Class2 - Serial two-station topology: Delay → PSPRIO Queue → Delay - Demonstrates preemptive priority in processor sharing

        Returns:

        configured PSPRIO network model

      • prio_identical

         static Network prio_identical()

        Network with GPSPRIO scheduling and multiple priority classes.

        Features: - Four closed classes with different populations and priorities - Two stations: Delay node and GPSPRIO queue with weights - Class1: 6 jobs, priority 0; Class2,3: 4 jobs, priority 1; Class4: 1 job, priority 2 - Demonstrates GPS (Generalized Processor Sharing) with priorities - Different service rates and weights for weighted fair sharing - Simple serial routing: Delay → GPSPRIO Queue → Delay

        Returns:

        configured network with GPSPRIO scheduling

      • main

         static void main(Array<String> args)

        Main method for testing and demonstrating priority examples.

        Currently configured to: - Run prio_psprio() with PSPRIO scheduling - Use JMT options with specified seed and sample count - Solve using SSA solver and print average metrics - Model visualization and JMT solving are commented out

        Parameters:
        args - command line arguments (not used)