addTerminator

open fun addTerminator(terminator: TerminationPredicate<T, P>)

Adds to the simulation a predicate that determines whether a simulation should be terminated.

Parameters

terminator

the termination predicate.