activate

fun activate(process: KSLProcess, timeUntilActivation: GetValueIfc, priority: Int = KSLEvent.DEFAULT_PRIORITY): KSLEvent<KSLProcess>

Cause the entity to start the process. The activation of the process is governed by an event that is scheduled to occur at the specified activation time.

Return

the scheduled activation event

Parameters

process

the process to start for an entity

timeUntilActivation

the time until the start of the process

priority

the priority associated with the event to start the process


fun activate(process: KSLProcess, timeUntilActivation: Double = 0.0, priority: Int = KSLEvent.DEFAULT_PRIORITY): KSLEvent<KSLProcess>

Cause the entity to start the process. The activation of the process is governed by an event that is scheduled to occur at the specified activation time.

Return

the scheduled activation event

Parameters

process

the process to start for an entity

timeUntilActivation

the time until the start the process

priority

the priority associated with the event to start the process