Class CyclicPollingModel
-
- All Implemented Interfaces:
public class CyclicPollingModel
Examples of models with polling
-
-
Constructor Summary
Constructors Constructor Description CyclicPollingModel()
-
Method Summary
Modifier and Type Method Description static Network
polling_exhaustive_exp()
M[2]/M[2]/1-Gated polling system example. static Network
polling_gated()
M[2]/M[2]/1-Gated polling system with switchover times. static Network
polling_klimited()
M[2]/M[2]/1-K-Limited polling system with mixed switchover. static Network
polling_exhaustive_det()
M[2]/M[2]/1-Exhaustive polling system with deterministic arrivals and immediate switchover. static void
main(Array<String> args)
Main method for testing and demonstrating cyclic polling examples. -
-
Method Detail
-
polling_exhaustive_exp
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
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
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
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
-
-
-
-