Package jline.api.sn
Class SnPnFiringRates
java.lang.Object
jline.api.sn.SnPnFiringRates
Recovers per-mode transition firing rates from the Place throughputs.
The firing rates of a Petri net are not carried by the network structure, but
they are determined by the Place throughputs together with the net structure.
Writing x for the vector of per-mode firing rates, two families of equations
hold at steady state, for every Place p and class k:
- departure: the sum over the modes consuming (p,k) of x, weighted by the input arc multiplicity when tputIsTokens is true and unweighted when it is false, equals TN(p,k)
- balance: the sum over all modes of x times (produced minus consumed) equals zero
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SnPnFiringRates.RetsnPnFiringRates(NetworkStruct sn, Matrix TN, boolean tputIsTokens) Recovers the per-mode firing rates from the Place throughputs.
-
Method Details
-
snPnFiringRates
public static SnPnFiringRates.Ret snPnFiringRates(NetworkStruct sn, Matrix TN, boolean tputIsTokens) Recovers the per-mode firing rates from the Place throughputs.- Parameters:
sn- network structureTN- average throughputs at stationstputIsTokens- true when TN counts tokens, false when it counts firing events- Returns:
- the recovery outcome, with a null rates field when undetermined
-