Package jline.api.fj

Class FJValidation

java.lang.Object
jline.api.fj.FJValidation

public final class FJValidation extends Object
  • Method Details

    • isHomogeneous

      public static Pair<Boolean,FJInfo> isHomogeneous(NetworkStruct sn)
      Checks for a single fork-join pair with homogeneous parallel branches.

      This is NOT a test for the presence of Fork/Join nodes: most fork-join models fail this predicate. It tests membership in the homogeneous class on which the FJ_codes tail approximation of Qiu, Perez and Harrison (IFIP Performance 2015) is defined: a single fork-join pair, K homogeneous single-server parallel queues between them, open classes only, and service in {Exp, HyperExp(2), Erlang(2), MAP(2)}.

      Parameters:
      sn - the network structure to test
      Returns:
      the verdict paired with the extracted fork-join indexes (null if the model is outside the class)