Unlimited learning, half price | 50% off
Get 50% off unlimited learning

ecr (version 1.0)

makeTerminator: Generate stopping condition.

Description

Wrap a function within a stopping condition object.

Usage

makeTerminator(condition.fun, name, message)

Arguments

condition.fun
[function] Function which takes an environment OptPath as its only parameter and return a single logical.
name
[character(1)] Identifier for the stopping condition.
message
[character(1)] Message which should be stored in the termination object, if the stopping condition is met.

Value

[ecr_terminator]