RewardDescriptor

@Serializable
data class RewardDescriptor(val name: String, val source: SourceRef, val kind: RewardKind, val rate: Double, val sense: RewardSense)(source)

One declared reward term: (source, kind, rate, sense).

rate is the value as declared, before the sign convention of RewardSense is applied, so that a description reads the way the modeler wrote it rather than the way the machinery consumes it.

Constructors

Link copied to clipboard
constructor(name: String, source: SourceRef, kind: RewardKind, rate: Double, sense: RewardSense)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard