Package jline.api.sn

Class SnNonmarkovToPh

java.lang.Object
jline.api.sn.SnNonmarkovToPh

public final class SnNonmarkovToPh extends Object
  • Method Details

    • snNonmarkovToPh

      public static NetworkStruct snNonmarkovToPh(NetworkStruct snInput, SolverOptions options)
    • snNonmarkovToPh

      public static NetworkStruct snNonmarkovToPh(NetworkStruct snInput, SolverOptions options, boolean keepDetTag)
      Parameters:
      keepDetTag - when true (MAM only), a converted DET keeps procid=DET (MAM needs this for exact deterministic dispatch) and other surrogates are tagged MAP with a phase-tracking local variable; when false (the default, matching MATLAB), the converted process is tagged PH like every other converted distribution, so the state-space generator treats its renewal-PH representation as a proper multi-phase process.
    • snNonmarkovToPh

      public static NetworkStruct snNonmarkovToPh(NetworkStruct snInput, SolverOptions options, boolean keepDetTag, Boolean preserveDetOverride)
      Parameters:
      preserveDetOverride - the resolved value of options.config.preserveDet, or null to read the option itself (treating an unset option as false, which is what every caller but the MAM steady-state analyzer wants). The MAM analyzer passes the value explicitly rather than assigning it into options.config because options is a shared reference here where MATLAB's struct is a value, so a mutation would leak into later solves on the same solver.
    • refuseUnconverted

      public static void refuseUnconverted(NetworkStruct sn, String caller)
      Refuse a law that config.nonmkv = "none" left without a phase-type representation. The conversion returns early under "none", so a Gamma, Weibull, Det, ... keeps its raw parameters, and a CTMC has no phases to enumerate for it. The refusal names the law by its FeatureSet name (LINE:unsupported:Gamma, ...), as MATLAB, python and C++ do.
      Parameters:
      sn - the struct the CTMC is about to solve
      caller - the refusing solver, for the error message