Class Infer_fluid_ps_rt_likelihoodKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • infer_fluid_ps_rt_likelihood

         final static FluidPsRtResult infer_fluid_ps_rt_likelihood(NetworkStruct sn, Integer taggedClass)

        Fluid-based response time likelihood.

        Builds an augmented model with tagged class K+1 by expanding the NetworkStruct arrays, then constructs a fluid ODE system for computing the response time likelihood.

        Uses the routing table sn.rt for general M-station routing and builds phase-aware q_indices from service distributions.

        Parameters:
        sn - NetworkStruct (from model.
        taggedClass - class index of the tagged job (0-based)
        Returns:

        FluidPsRtResult with ODE handle and indexing info

      • infer_fluid_ps_rt_solve

         final static Double infer_fluid_ps_rt_solve(FluidPsRtResult result, Matrix y0Levels, Double Rsampled, Integer taggedClass)

        Solve the fluid ODE and compute response time likelihood.

        Parameters:
        result - pre-built FluidPsRtResult
        y0Levels - M x K matrix of fluid levels per station per class
        Rsampled - observed response time
        taggedClass - tagged class index (0-based)
        Returns:

        likelihood value