AfterTime

class AfterTime(endTime: Time) : Predicate<Environment<*, *>>

Parameters

endTime

the end time.

Constructors

Link copied to clipboard
fun AfterTime(endTime: Time)

Functions

Link copied to clipboard
open fun and(p0: Predicate<in Environment<*, *>>): Predicate<Environment<*, *>>
Link copied to clipboard
open fun negate(): Predicate<Environment<*, *>>
Link copied to clipboard
open fun or(p0: Predicate<in Environment<*, *>>): Predicate<Environment<*, *>>
Link copied to clipboard
open override fun test(environment: Environment<*, *>): Boolean

Tries to access the simulation time from the environment. If the simulation is unaccessible, throws an exception. Otherwise, reads the current time, and flips to true once it got past the provided endTime.

Properties

Link copied to clipboard
val endTime: Time