Package jline.api.mam
Class Ph_reindexKt
-
- All Implemented Interfaces:
public final class Ph_reindexKt
-
-
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. -
-
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 distributionsn
- 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
-
-
-
-