Package jline.lang

Class NodeParam

java.lang.Object
jline.lang.NodeParam
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CacheNodeParam, ForkNodeParam, JoinNodeParam, LoggerNodeParam, ReplayerNodeParam, ServiceNodeParam

public class NodeParam extends Object implements Serializable
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 Details

    • weights

      public Map<JobClass,Matrix> weights
      Routing weights by job class - controls probabilistic routing decisions
    • withMemory

      public Map<JobClass,Matrix> withMemory
      Memory-dependent parameters by job class - for state-dependent behavior
    • k

      public Map<JobClass,Integer> k
      Integer parameters by job class - for discrete configuration values
    • patience

      public Map<JobClass,Distribution> patience
      Patience distributions by job class for customer abandonment modeling
    • rlValueFunction

      public Map<JobClass,Matrix> 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 in rlValueFunctionShape. For linear approximation (rlStateSize>0) this is the coefficient row vector applied to a quadratic feature lift of the queue lengths.
    • rlValueFunctionShape

      public Map<JobClass,int[]> 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

      public Map<JobClass,int[]> 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

      public Map<JobClass,Integer> 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