Package jline.examples.java.advanced
Class LoadDependentExamples
java.lang.Object
jline.examples.java.advanced.LoadDependentExamples
Examples demonstrating load-dependent queueing behavior.
This class provides Java implementations corresponding to the Kotlin notebooks
in jline.examples.kotlin.advanced.loadDependent package.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDemonstrates load-dependent behavior with class dependence (ld_class_dependence.ipynb).static voidDemonstrates load-dependent multi-server with FCFS discipline (ld_multiserver_fcfs.ipynb).static voidDemonstrates load-dependent multi-server with processor sharing (ld_multiserver_ps.ipynb).static voidDemonstrates load-dependent PS with two classes (ld_multiserver_ps_twoclasses.ipynb).static voidMain method to run all load-dependent examples.
-
Constructor Details
-
LoadDependentExamples
public LoadDependentExamples()
-
-
Method Details
-
ld_class_dependence
Demonstrates load-dependent behavior with class dependence (ld_class_dependence.ipynb). This example shows how service rates can depend on the mix of customer classes present in the queue. This models situations where different types of customers create different levels of resource contention. Features: - Service rates dependent on class composition - Multi-class load-dependent queues - Analysis of class interaction effects - Performance isolation between classes- Throws:
Exception- if the solver encounters an error
-
ld_multiserver_fcfs
Demonstrates load-dependent multi-server with FCFS discipline (ld_multiserver_fcfs.ipynb). This example models a multi-server queue where the effective service rate depends on the number of customers in the system. Under FCFS, this creates complex interactions between waiting times and system occupancy. Features: - Multi-server queue with load-dependent rates - FCFS scheduling discipline - Modeling of server activation/deactivation - Analysis of economies/diseconomies of scale- Throws:
Exception- if the solver encounters an error
-
ld_multiserver_ps
Demonstrates load-dependent multi-server with processor sharing (ld_multiserver_ps.ipynb). This example shows load-dependent behavior in a processor sharing environment. PS discipline distributes service capacity equally among all customers, and the load dependence models how this capacity changes with system load. Features: - Multi-server queue with processor sharing - Load-dependent service capacity - Fair sharing of variable capacity - Comparison with FCFS load dependence- Throws:
Exception- if the solver encounters an error
-
ld_multiserver_ps_twoclasses
Demonstrates load-dependent PS with two classes (ld_multiserver_ps_twoclasses.ipynb). This example extends the PS load-dependent case to multiple customer classes. Each class can have different impacts on the load-dependent behavior, modeling heterogeneous workloads with different resource requirements. Features: - Two-class processor sharing system - Class-specific load dependence effects - Analysis of fairness across classes - Performance differentiation strategies- Throws:
Exception- if the solver encounters an error
-
main
Main method to run all load-dependent examples.- Parameters:
args- command line arguments (not used)
-