Package jline.examples.java.advanced.lal
Class ForkJoin
java.lang.Object
jline.examples.java.advanced.lal.ForkJoin
One closed job forks into two exponential branches and joins again (twin of
python/examples/advanced/lal/fork_join.py). The coordinator combines
the delay and join state, so the last branch completion returns the job to
the delay without an immediate transition. Exactly one job exists, and the
fork, branch and join throughputs all equal 1/(1/d + 1/b1 + 1/b2 - 1/(b1+b2)).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompositionforkJoin()The fork/join composition with delay rate 1 and branch rates 2 and 3.static CompositionforkJoin(double delayRate, double branch1Rate, double branch2Rate) static void
-
Constructor Details
-
ForkJoin
public ForkJoin()
-
-
Method Details
-
forkJoin
The fork/join composition with delay rate 1 and branch rates 2 and 3. -
forkJoin
-
main
-