Package jline.api.sn

Class SnJoinDroprate

java.lang.Object
jline.api.sn.SnJoinDroprate

public final class SnJoinDroprate extends Object
Rate at which sibling tasks are discarded at each Join.

Port of matlab/src/api/fj/sn_join_droprate.m.

  • Method Details

    • snJoinDroprate

      public static Matrix snJoinDroprate(NetworkStruct sn, Matrix TN, Matrix AN)
      A Join is the one station where the loss identity ArvR - Tput does NOT hold, because the two rates are in different units: AN counts the SIBLINGS offered to the join (N per parent job) while TN counts the PARENT jobs released by it (one per synchronisation). Reading ArvR - Tput there reports (N-1)/N of the offered traffic as lost at every join, standard joins included, when a standard join loses nothing at all.

      The siblings a join actually consumes are K per synchronisation, where K is the quorum (K = N on a standard join), so DropRateJoin = max(0, AN - K*TN), which is 0 for a standard join and (N-K)*TN for a quorum.

      This is the DERIVED value, exact given TN and AN. A solver that MEASURES the discards on its own sample path (SolverLDES) reports its own.

      Parameters:
      sn - the network structure
      TN - station throughputs
      AN - station arrival rates
      Returns:
      an (nstations x nclasses) matrix, zero away from the Join rows