TerminationPredicate

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
abstract operator override fun invoke(environment: Environment<T, P>): Boolean
Link copied to clipboard

Builds a predicate that is true if both this and the other predicate are true.

Link copied to clipboard
open fun test(environment: Environment<T, P>): Boolean

Same as invoke.