Package jline.api.wfn

Class CycleTimeAnalysis

java.lang.Object
jline.api.wfn.CycleTimeAnalysis

public class CycleTimeAnalysis extends Object
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 Details

    • ph

      public PH ph
      PH law of the case duration
    • mean

      public double mean
      Mean case duration
    • moments

      public double[] moments
      First three raw moments
    • variance

      public double variance
      Variance of the case duration
    • scv

      public double scv
      Squared coefficient of variation
    • zeroTimeProb

      public double zeroTimeProb
      Probability that a case completes in zero time
    • transitions

      public String[] transitions
      Transition names, in transition order
    • expectedFirings

      public double[] expectedFirings
      Expected firings of each transition in one case
    • places

      public String[] places
      Place names, in place order
    • expectedTokenTime

      public double[] expectedTokenTime
      Expected token-time spent in each place by one case
    • numStates

      public int numStates
      Number 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

      public double getExpectedFirings(String transition)
      Expected firings of a transition in one case.
      Parameters:
      transition - transition name
      Returns:
      expected number of firings
    • getExpectedTokenTime

      public double getExpectedTokenTime(String place)
      Expected token-time of a place in one case.
      Parameters:
      place - place name
      Returns:
      expected token-time