Class FluidMinNormalApplicable

java.lang.Object
jline.solvers.fluid.moments.FluidMinNormalApplicable

public final class FluidMinNormalApplicable extends Object
Whether MinNormalAnalyzer can answer a model, used by the default method of SolverFluid to prefer minnormal over matrix when it applies. Java twin of the MATLAB fluid_minnormal_applicable.

The test is STATIC: it inspects the model and the options, never the solution. A method chosen by trial and rollback would make the reported method depend on a failed run, and the fallback would silently absorb real defects in the closure; anything the check cannot decide in advance is left to fail loudly under an explicit options.method="minnormal".

Every condition below mirrors a guard that MinNormalAnalyzer or FluidMomentTerms would otherwise raise, so this class and those guards must move together.

  • Method Details

    • reasonToDecline

      public static String reasonToDecline(NetworkStruct sn, SolverOptions options)
      Parameters:
      sn - network structure, after the non-Markovian to phase-type conversion
      options - solver options
      Returns:
      null when minnormal can be selected, otherwise one line naming the blocking feature