Class LalAGResult

java.lang.Object
jline.solvers.ag.lal.LalAGResult

public class LalAGResult extends Object
Result container of SolverAG on a finite LAL composition, covering the Python LALCTMCResult, LALRCATResult, LALMeanFieldResult and LALGroupedResult. Fields not produced by a method stay at their defaults (null, 0, false).
  • Field Details

    • stateTable

      public LalTable stateTable
      Agent/State/Probability table with provenance attrs.
    • actionTable

      public LalTable actionTable
      Action/Throughput table with provenance attrs.
    • method

      public String method
      ctmc, inap, inaprc, rcat, meanfield or grouped.
    • exact

      public boolean exact
    • converged

      public boolean converged
    • iterations

      public int iterations
    • residual

      public double residual
      Mean-field and grouped fixed-point residual.
    • reversedRates

      public double[] reversedRates
      RCAT: reversed rates per synchronized action, in sync order.
    • rcatResidual

      public double rcatResidual
      RCAT: max L1 local reversed-rate residual.
    • diagnostics

      public Map<String,Object> diagnostics
      Diagnostics dictionary; null for the explicit CTMC.
    • truncated

      public boolean truncated
      True when the composition is a truncation of an unbounded source.
    • fallbackReason

      public String fallbackReason
      Reason the exact CTMC was abandoned under method 'default', else null.
    • states

      public List<String[]> states
      CTMC only: reachable joint states and their probabilities.
    • probabilities

      public double[] probabilities
    • compiled

      public LalCompiled compiled
  • Method Details

    • fromCtmc

      public static LalAGResult fromCtmc(LalCtmc.Result r)
      Wrap the explicit finite-CTMC result of LalCtmc.
    • getStateTable

      public LalTable getStateTable()
    • getActionTable

      public LalTable getActionTable()
    • getMethod

      public String getMethod()
    • isExact

      public boolean isExact()
    • isConverged

      public boolean isConverged()
    • getIterations

      public int getIterations()
    • getResidual

      public double getResidual()
    • getRcatResidual

      public double getRcatResidual()
    • getReversedRates

      public double[] getReversedRates()
    • getDiagnostics

      public Map<String,Object> getDiagnostics()
    • isTruncated

      public boolean isTruncated()
    • getFallbackReason

      public String getFallbackReason()
    • getStates

      public List<String[]> getStates()
    • getProbabilities

      public double[] getProbabilities()