Package jline.api.wfn
Class CycleTimeAnalysis
java.lang.Object
jline.api.wfn.CycleTimeAnalysis
Exact single-case analysis of a sound Workflow Net, returned by
WorkflowNet.getCycleTimeAnalysis().
The case duration of one case without contention is phase-type with
initial vector alpha and subgenerator Q over the tangible
transient states; 1 - sum(alpha) is the probability that the case
completes in zero time. MATLAB twin: the struct returned by
WorkflowNet.getCycleTimeAnalysis, whose firings and
placeTime tables are the name/value arrays here.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble[]Expected firings of each transition in one casedouble[]Expected token-time spent in each place by one casedoubleMean case durationdouble[]First three raw momentsintNumber of tangible transient statesPH law of the case durationString[]Place names, in place orderdoubleSquared coefficient of variationString[]Transition names, in transition orderdoubleVariance of the case durationdoubleProbability that a case completes in zero time -
Method Summary
Modifier and TypeMethodDescriptiondoublecdf(double t) Cumulative distribution function of the case duration.doublegetExpectedFirings(String transition) Expected firings of a transition in one case.doublegetExpectedTokenTime(String place) Expected token-time of a place in one case.doublepercentile(double q) Quantile of the case duration, by bisection on the CDF.
-
Field Details
-
ph
PH law of the case duration -
mean
public double meanMean case duration -
moments
public double[] momentsFirst three raw moments -
variance
public double varianceVariance of the case duration -
scv
public double scvSquared coefficient of variation -
zeroTimeProb
public double zeroTimeProbProbability that a case completes in zero time -
transitions
Transition names, in transition order -
expectedFirings
public double[] expectedFiringsExpected firings of each transition in one case -
places
Place names, in place order -
expectedTokenTime
public double[] expectedTokenTimeExpected token-time spent in each place by one case -
numStates
public int numStatesNumber of tangible transient states
-
-
Method Details
-
cdf
public double cdf(double t) Cumulative distribution function of the case duration.- Parameters:
t- time- Returns:
- P(duration <= t)
-
percentile
public double percentile(double q) Quantile of the case duration, by bisection on the CDF.- Parameters:
q- level in (0,1)- Returns:
- the q-quantile
-
getExpectedFirings
Expected firings of a transition in one case.- Parameters:
transition- transition name- Returns:
- expected number of firings
-
getExpectedTokenTime
Expected token-time of a place in one case.- Parameters:
place- place name- Returns:
- expected token-time
-