Package jline.lang
Class NodeParam
java.lang.Object
jline.lang.NodeParam
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CacheNodeParam,ForkNodeParam,JoinNodeParam,LoggerNodeParam,ReplayerNodeParam,ServiceNodeParam
Base class for node parameters in queueing network models.
NodeParam stores job class-dependent parameters that control the behavior of network nodes (stations). This includes routing weights, outbound links, memory-dependent parameters, and other node-specific configuration data.
The parameters are organized by job class, allowing different classes to have different behaviors at the same node. This is essential for multi-class queueing networks where job classes may have different service requirements, routing patterns, or other characteristics.
Subclasses extend this base functionality for specific node types such as caches, forks, joins, and service stations.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionInteger parameters by job class - for discrete configuration valuesOutbound link specifications by job class - defines outgoing connectionsPatience distributions by job class for customer abandonment modelingPer-class list of node indices that consult the RL value function.Per-class state-size hint.RL value function by job class.Per-class shape of the tabular RL value function table.Routing weights by job class - controls probabilistic routing decisionsMemory-dependent parameters by job class - for state-dependent behavior -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEmpty()Checks if this NodeParam contains no configuration data.
-
Field Details
-
weights
Routing weights by job class - controls probabilistic routing decisions -
outlinks
Outbound link specifications by job class - defines outgoing connections -
withMemory
Memory-dependent parameters by job class - for state-dependent behavior -
k
Integer parameters by job class - for discrete configuration values -
patience
Patience distributions by job class for customer abandonment modeling -
rlValueFunction
RL value function by job class. For tabular RL (rlStateSize=0) this is a flat representation of an N-dimensional table indexed by per-queue occupancy; the corresponding shape is inrlValueFunctionShape. For linear approximation (rlStateSize>0) this is the coefficient row vector applied to a quadratic feature lift of the queue lengths. -
rlValueFunctionShape
Per-class shape of the tabular RL value function table. Each int[] is the size along each dimension; only used when rlStateSize=0. -
rlNodesNeedAction
Per-class list of node indices that consult the RL value function. Nodes not in this list fall back to JSQ-style routing. -
rlStateSize
Per-class state-size hint. 0 selects tabular RL, >0 selects linear approximation, missing/negative selects JSQ fallback.
-
-
Constructor Details
-
NodeParam
public NodeParam()Constructs an empty NodeParam with initialized parameter maps.All parameter maps are initialized as empty HashMaps, ready to store job class-specific configuration data.
-
-
Method Details
-
isEmpty
public boolean isEmpty()Checks if this NodeParam contains no configuration data.- Returns:
- true if all parameter maps are null or empty, false otherwise
-