Class ServiceNodeParam

java.lang.Object
jline.lang.NodeParam
jline.lang.nodeparam.ServiceNodeParam
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
QueueNodeParam, TransitionNodeParam

public class ServiceNodeParam extends NodeParam
Parameter container for service nodes in queueing networks.

This class stores configuration parameters for service nodes that process jobs according to externally defined service specifications. Service nodes can reference external files or configurations that define their behavior.

It is also the home of the per-station heterogeneous-server fields. These are ragged, node-type-conditional structures (server-type lists, compatibility matrices, per-type/per-class rates and processes) and therefore live in the nodeparam container rather than as flat NetworkStruct root fields. They are populated only for Queue stations that declare server types; for all other stations nservertypes stays 0 (homogeneous).

Since:
1.0
See Also:
  • Field Details

    • fileName

      public List<String> fileName
      List of file names or identifiers for external service definitions
    • nservertypes

      public int nservertypes
      Number of server types at this station; 0 indicates a homogeneous queue.
    • servertypenames

      public List<String> servertypenames
      Server type names; servertypenames.get(t) is the name of server type t.
    • serverspertype

      public Matrix serverspertype
      Number of servers per server type: Matrix (nTypes x 1).
    • servercompat

      public Matrix servercompat
      Server-class compatibility matrix: Matrix (nTypes x K), 1.0 if type t serves class r.
    • heterorates

      public Map<Integer,Map<Integer,Double>> heterorates
      Heterogeneous service rates: heterorates.get(serverTypeId).get(classId) -> rate.
    • heteroproc

      public Map<Integer,Map<Integer,MatrixCell>> heteroproc
      Heterogeneous service processes: heteroproc.get(serverTypeId).get(classId) -> PH matrices.
    • heteroprocid

      public Map<Integer,Map<Integer,ProcessType>> heteroprocid
      Heterogeneous process types: heteroprocid.get(serverTypeId).get(classId) -> ProcessType.
    • heteroschedpolicy

      public HeteroSchedPolicy heteroschedpolicy
      Heterogeneous scheduling policy for this station.
  • Constructor Details

    • ServiceNodeParam

      public ServiceNodeParam()
  • Method Details

    • isEmpty

      public boolean isEmpty()
      Checks if this service parameter container is empty.
      Overrides:
      isEmpty in class NodeParam
      Returns:
      true if no file names are specified, false otherwise