StepCount

data class StepCount<T, P : Position<P>>(val lastStep: Long) : Predicate<Environment<T, P>> (source)

Terminates the simulation after a given number of steps. If the simulation is uninitialized (thus, the environment returns null when asked for the simulation), this predicate always returns false.

Parameters

lastStep

the last step.

Constructors

Link copied to clipboard
constructor(lastStep: Long)

Properties

Link copied to clipboard

Functions

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