Package jline.api.sn
Class SnHasQuorumJoin
java.lang.Object
jline.api.sn.SnHasQuorumJoin
Checks if the network has a quorum (k-of-n) join.
Port of matlab/src/api/sn/sn_has_quorum_join.m.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanTrue if some Join node declares a non-standard strategy with a positive required count in some class, i.e.
-
Method Details
-
snHasQuorumJoin
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; useSnJoinQuorumwhere 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
-