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 (port of MATLAB fj_is_homogeneous).

      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: open classes only, a single fork-join pair (paired in sn.fj), no quorum, K Queue nodes routed Fork->Queue->Join, identical PH service representations across the K queues (within FineTol) for every class, and FCFS or PS scheduling.

      Parameters:
      sn - the network structure to test
      Returns:
      the verdict paired with the fork-join info; when the verdict is false the info carries the reason in FJInfo.errorMsg