Package jline.api.mam

Class Ph_reindexKt

  • All Implemented Interfaces:

    
    public final class Ph_reindexKt
    
                        
    • 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
    • Method Summary

      Modifier and Type Method Description
      final static Map<Integer, Map<Integer, MatrixCell>> ph_reindex(Map<Station, Map<JobClass, MatrixCell>> PHs, NetworkStruct sn) Reindexes a map of phase-type (PH) distributions for a network model based on station and job class indices.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • ph_reindex

         final static Map<Integer, Map<Integer, MatrixCell>> ph_reindex(Map<Station, Map<JobClass, MatrixCell>> PHs, NetworkStruct sn)

        Reindexes a map of phase-type (PH) distributions for a network model based on station and job class indices.

        This method takes a map of PH distributions, originally indexed by Station and JobClass objects, and reindexes it using integer indices for stations and job classes. The new index system corresponds to the internal indexing used in a NetworkStruct object, which describes the structure of the network, including the number of stations and classes.

        Parameters:
        PHs - a map where the key is a Station and the value is another map with a JobClass key and MatrixCell value representing the PH distribution
        sn - the NetworkStruct object containing the network structure and internal indexing information
        Returns:

        a reindexed map where the key is an integer station index and the value is another map with integer job class indices and MatrixCell values