Class ForkJoin

java.lang.Object
jline.examples.java.advanced.lal.ForkJoin

public class ForkJoin extends Object
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 Details

    • ForkJoin

      public ForkJoin()
  • Method Details

    • forkJoin

      public static Composition forkJoin()
      The fork/join composition with delay rate 1 and branch rates 2 and 3.
    • forkJoin

      public static Composition forkJoin(double delayRate, double branch1Rate, double branch2Rate)
    • main

      public static void main(String[] args)