Class LalSolverSupport

java.lang.Object
jline.lang.lal.LalSolverSupport

public final class LalSolverSupport extends Object
Option checks and cache keys shared by the Composition modes of SolverCTMC and SolverSSA. Python compares repr strings of the snapshot and of the options; this class builds the Java equivalent from the public fields.
  • Method Details

    • truncated

      public static boolean truncated(Composition model)
      True when the composition carries a truncated source CTMC.
    • configIsSet

      public static boolean configIsSet(SolverOptions options, SolverType type, Collection<String> ignore)
      True when options.config differs from the defaults of type in any public field, other than those named in ignore, or holds a key set through Config.put. This is the Java reading of Python's truthy options.config.
    • optionsKey

      public static String optionsKey(SolverOptions options)
      A text rendering of every public option field, including the config block, for cache keys.