PeriodicDecisionElement

constructor(parent: ModelElement, interval: Double, name: String? = null, firstAtTimeZero: Boolean = false, reason: String = "periodic", reviewPriority: Int = KSLEvent.MEDIUM_LOW_PRIORITY, elementName: String? = null, declaration: DecisionElementBuilder.() -> Unit)(source)

Parameters

interval

time between reviews; finite and greater than zero

firstAtTimeZero

review at time zero as well as at each interval thereafter

reason

the label carried onto every transition this review produces

reviewPriority

the priority of the review event, which is what orders this review against other events at a coinciding instant — including this element's own warm-up

elementName

what to call the element, if not "<this element's name>:Decision". It exists for conversion: a model that already had a decision element should not have to rename it — and so invalidate stored trajectories, control keys and anything holding a LeverRef — merely because the review moved into a composition around it.

declaration

the element's declaration, exactly as decisionElement { } takes it