alchemist-interfaces / it.unibo.alchemist.model.interfaces / TimeDistribution

TimeDistribution

interface TimeDistribution<T : Any!> : Cloneable, Serializable

This interface represents a temporal distribution for any event.

Functions

clone

abstract fun clone(currentTime: Time!): TimeDistribution<T>!

getNextOccurence

abstract fun getNextOccurence(): Time!

getRate

abstract fun getRate(): Double

update

Updates the internal status.

abstract fun update(currentTime: Time!, executed: Boolean, param: Double, environment: Environment<T, *>!): Unit