StepCount

data class StepCount<T, P : Position<P>>(val lastStep: Long) : TerminationPredicate<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 operator override fun invoke(environment: Environment<T, P>): Boolean
Link copied to clipboard
Link copied to clipboard
open fun test(environment: Environment<T, P>): Boolean