makeTerminator function

Generate stopping condition.

Generate stopping condition.

Wrap a function within a stopping condition object.

makeTerminator(condition.fun, name, message)

Arguments

  • condition.fun: [function]

    Function which takes a logger object log (see initLogger) and returns 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.

Returns

[ecr_terminator]

  • Maintainer: Jakob Bossek
  • License: GPL-3
  • Last published: 2023-03-08