Class Handshake

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

public class Handshake extends Object
A producer sends work to a server; the server releases it after service (twin of python/examples/advanced/lal/handshake.py). The full product has unreachable states, so the reachable two-state class is solved. The stationary probabilities are 0.6/0.4 and the throughput 1.2.
  • Field Details

    • SOURCE

      public static final String SOURCE
      Contents of python/examples/advanced/lal/handshake.lal.
  • Constructor Details

    • Handshake

      public Handshake()
  • Method Details

    • reachable

      public static List<Integer> reachable(LalCompiled compiled)
      Reachable states (BFS order from the initial state) of the compiled handshake.
    • main

      public static void main(String[] args)