Uses of Class
jline.lang.reward.RewardDescriptor
Packages that use RewardDescriptor
-
Uses of RewardDescriptor in jline.lang.reward
Methods in jline.lang.reward that return RewardDescriptorModifier and TypeMethodDescriptionstatic RewardDescriptorBlocking reward: 1 when the node holds at least as many jobs as its capacity, 0 otherwise.static RewardDescriptorReward.custom(RewardFunction userFn) Wraps an arbitrary user reward function.static RewardDescriptorReward.queueLength(Node node) Queue length reward: total number of jobs at a node, over all classes.static RewardDescriptorReward.queueLength(Node node, JobClass jobClass) Queue length reward: number of jobs of a given class at a node.static RewardDescriptorReward.utilization(Node node) Utilization reward: min(jobs, nservers) at a node, over all classes.static RewardDescriptorReward.utilization(Node node, JobClass jobClass) Utilization reward: min(class jobs, nservers) at a node.