TerminationPredicate
interface TerminationPredicate<T, P : Position<out P>> : Function1<Environment<T, P>, Boolean> , Serializable(source)
A predicate that determines whether a simulation should be terminated. The predicate is evaluated at the end of each simulation step. If the predicate returns true, the simulation gets terminated.
Parameters
T
the type of the concentration
P
the type of the position
Types
Link copied to clipboard
object Companion
Factory for TerminationPredicate instances.
Functions
Link copied to clipboard
Builds a predicate that is true if both this
and the other predicate are true.