Package jline.lang.nodeparam
Class ServiceNodeParam
java.lang.Object
jline.lang.NodeParam
jline.lang.nodeparam.ServiceNodeParam
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
QueueNodeParam,TransitionNodeParam
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 Summary
FieldsModifier and TypeFieldDescriptionList of file names or identifiers for external service definitionsHeterogeneous service processes: heteroproc.get(serverTypeId).get(classId) -> PH matrices.Heterogeneous process types: heteroprocid.get(serverTypeId).get(classId) -> ProcessType.Heterogeneous service rates: heterorates.get(serverTypeId).get(classId) -> rate.Heterogeneous scheduling policy for this station.intNumber of server types at this station; 0 indicates a homogeneous queue.Server-class compatibility matrix: Matrix (nTypes x K), 1.0 if type t serves class r.Servers seized at once by a job, per class: Matrix (1 x K), all ones unless some class declares job parallelism.Number of servers per server type: Matrix (nTypes x 1).Server type names; servertypenames.get(t) is the name of server type t. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEmpty()Checks if this service parameter container is empty.
-
Field Details
-
fileName
List of file names or identifiers for external service definitions -
nservertypes
public int nservertypesNumber of server types at this station; 0 indicates a homogeneous queue. -
servertypenames
Server type names; servertypenames.get(t) is the name of server type t. -
serverspertype
Number of servers per server type: Matrix (nTypes x 1). -
servercompat
Server-class compatibility matrix: Matrix (nTypes x K), 1.0 if type t serves class r. -
heterorates
Heterogeneous service rates: heterorates.get(serverTypeId).get(classId) -> rate. -
heteroproc
Heterogeneous service processes: heteroproc.get(serverTypeId).get(classId) -> PH matrices. -
heteroprocid
Heterogeneous process types: heteroprocid.get(serverTypeId).get(classId) -> ProcessType. -
heteroschedpolicy
Heterogeneous scheduling policy for this station. -
serverparallelism
Servers seized at once by a job, per class: Matrix (1 x K), all ones unless some class declares job parallelism. Null when the station declares none.
-
-
Constructor Details
-
ServiceNodeParam
public ServiceNodeParam()
-
-
Method Details