Package jline.examples


package jline.examples
Comprehensive examples and tutorials for LINE queueing network modeling.

This package serves as the main entry point for LINE examples, providing a comprehensive gallery of queueing network models from basic single-queue systems to complex multi-class networks with advanced features.

Sub-packages

  • jline.examples.java - Java implementation examples
  • kotlin - Kotlin implementation examples (development versions)

Example Categories

  • Getting Started - Basic tutorials and first examples
  • Classical Systems - M/M/1, M/M/k, M/G/1 queues
  • Queueing Networks - Open, closed, and mixed networks
  • Advanced Models - Fork-join, cache models, layered systems
  • Specialized Features - Priority queues, class switching, state-dependent routing

Model Complexity Levels

  • Basic - Single-class networks with standard features
  • Intermediate - Multi-class networks with routing
  • Advanced - Complex topologies and specialized disciplines
  • Research - Cutting-edge features and experimental models

Usage Patterns

Examples typically follow this structure:


 public class ExampleClass {
     public static Network createModel() {
         // Model construction
         Network model = new Network("ExampleModel");
         // ... add nodes, classes, parameters
         return model;
     }
     
     public static void main(String[] args) {
         Network model = createModel();
         NetworkAvgTable results = new MVA(model).getAvgTable();
         results.print();
     }
 }
 
Since:
LINE 2.0
See Also: