Package jline.api.sn

Class SnHasQuorumJoin

java.lang.Object
jline.api.sn.SnHasQuorumJoin

public final class SnHasQuorumJoin extends Object
Checks if the network has a quorum (k-of-n) join.

Port of matlab/src/api/sn/sn_has_quorum_join.m.

  • Method Details

    • snHasQuorumJoin

      public static boolean snHasQuorumJoin(NetworkStruct sn)
      True if some Join node declares a non-standard strategy with a positive required count in some class, i.e. it fires before every sibling has arrived. The sibling count is not re-derived here, so a declaration with k >= n reads as a quorum; use SnJoinQuorum where the branch count is known and the distinction matters, as the fork-join fixed point does.
      Parameters:
      sn - the network structure
      Returns:
      true if some join declares a positive quorum