addTerminator

abstract fun addTerminator(terminator: TerminationPredicate<T, P>)(source)
open fun addTerminator(terminator: (Environment<T, P>) -> Boolean)(source)

Add a terminator indicating whether the simulation should be considered finished.