Class LoadDependentExamples
-
- All Implemented Interfaces:
public class 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 Constructor Description LoadDependentExamples()
-
Method Summary
Modifier and Type Method Description static void
ld_class_dependence()
Demonstrates load-dependent behavior with class dependence (ld_class_dependence.ipynb). static void
ld_multiserver_fcfs()
Demonstrates load-dependent multi-server with FCFS discipline (ld_multiserver_fcfs.ipynb). static void
ld_multiserver_ps()
Demonstrates load-dependent multi-server with processor sharing (ld_multiserver_ps.ipynb). static void
ld_multiserver_ps_twoclasses()
Demonstrates load-dependent PS with two classes (ld_multiserver_ps_twoclasses.ipynb). static void
main(Array<String> args)
Main method to run all load-dependent examples. -
-
Method Detail
-
ld_class_dependence
static void 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
-
ld_multiserver_fcfs
static void 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
-
ld_multiserver_ps
static void 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
-
ld_multiserver_ps_twoclasses
static void 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
-
-
-
-