Class CyclicPollingModel

java.lang.Object
jline.examples.java.advanced.CyclicPollingModel

public class CyclicPollingModel extends Object
Examples of models with polling
  • Constructor Details

    • CyclicPollingModel

      public CyclicPollingModel()
  • Method Details

    • polling_exhaustive_exp

      public static Network polling_exhaustive_exp()
      M[2]/M[2]/1-Gated polling system example. This example demonstrates a polling system with: - 2 job classes - Exponential arrivals and service times - Exhaustive polling strategy
      Returns:
      network model with polling queue
    • polling_gated

      public static Network polling_gated()
      M[2]/M[2]/1-Gated polling system with switchover times. This example demonstrates a polling system with: - 2 job classes - Exponential arrivals and service times - Gated polling strategy - Exponential switchover times between classes
      Returns:
      network model with gated polling and switchover times
    • polling_klimited

      public static Network polling_klimited()
      M[2]/M[2]/1-K-Limited polling system with mixed switchover. This example demonstrates a polling system with: - 2 job classes - Exponential arrivals and service times - K-Limited polling strategy with K=1 - Mixed switchover times (Exponential for class 1, Immediate for class 2) The setPollingType method now accepts an optional K parameter for K-LIMITED polling.
      Returns:
      network model with K-limited polling and mixed switchover
    • polling_exhaustive_det

      public static Network polling_exhaustive_det()
      M[2]/M[2]/1-Exhaustive polling system with deterministic arrivals and immediate switchover. This example demonstrates a polling system with: - 2 job classes - Deterministic arrivals and service times - Exhaustive polling strategy - Immediate (zero-time) switchover between classes
      Returns:
      network model with exhaustive polling and immediate switchover
    • main

      public static void main(String[] args)
      Main method for testing and demonstrating cyclic polling examples.
      Parameters:
      args - command line arguments (not used)