Class LayeredExamples
-
- All Implemented Interfaces:
public class LayeredExamples
Layered network examples mirroring the Kotlin notebooks in layeredModel.
This class contains Java implementations that mirror the Kotlin notebook examples found in jar/src/main/kotlin/jline/examples/kotlin/basic/layeredModel/. Each method demonstrates a specific layered network concept using models from the basic package.
The examples cover: - Basic layered network structures with processors and tasks - Activity precedence patterns and synchronous calls - Multi-solver approaches for layered networks - Enterprise application modeling patterns - BPMN-style workflow representations
-
-
Constructor Summary
Constructors Constructor Description LayeredExamples()
-
Method Summary
Modifier and Type Method Description static void
lqn_basic()
Basic layered network (lqn_basic.ipynb). static void
lqn_serial()
Serial layered network (lqn_serial.ipynb). static void
lqn_multi_solvers()
Multi-solver layered network (lqn_multi_solvers.ipynb). static void
lqn_twotasks()
Two-task layered network (lqn_twotasks.ipynb). static void
lqn_bpmn()
BPMN-style layered network (lqn_bpmn.ipynb). static void
lqn_function()
Function-oriented layered network (lqn_function.ipynb). static void
lqn_workflows()
Workflow layered network (lqn_workflows.ipynb). static void
lqn_ofbiz()
OFBiz-style layered network (lqn_ofbiz.ipynb). static void
main(Array<String> args)
Main method demonstrating selected layered network examples. -
-
Method Detail
-
lqn_basic
static void lqn_basic()
Basic layered network (lqn_basic.ipynb).
Demonstrates fundamental layered network concepts with processors, tasks, and activity precedence.
-
lqn_serial
static void lqn_serial()
Serial layered network (lqn_serial.ipynb).
Shows serial activity precedence in layered networks with synchronous call patterns.
-
lqn_multi_solvers
static void lqn_multi_solvers()
Multi-solver layered network (lqn_multi_solvers.ipynb).
Demonstrates different solver approaches for layered networks with infinite server capacity.
-
lqn_twotasks
static void lqn_twotasks()
Two-task layered network (lqn_twotasks.ipynb).
Shows interaction between multiple tasks with synchronous call patterns.
-
lqn_bpmn
static void lqn_bpmn()
BPMN-style layered network (lqn_bpmn.ipynb).
Shows fork-join patterns with OrFork, AndFork, OrJoin, and AndJoin activity precedence.
-
lqn_function
static void lqn_function()
Function-oriented layered network (lqn_function.ipynb).
Complex enterprise application modeling with multiple user types and request handlers.
-
lqn_workflows
static void lqn_workflows()
Workflow layered network (lqn_workflows.ipynb).
Demonstrates loop and fork-join precedence patterns with nested synchronous calls.
-
lqn_ofbiz
static void lqn_ofbiz()
OFBiz-style layered network (lqn_ofbiz.ipynb).
Enterprise application model inspired by Apache OFBiz with database and application layers.
-
-
-
-