terminator_get_generations {miesmuschel}R Documentation

Get the Numger of Generations that a Terminator Allows

Description

Get the number of generations of a TerminatorGenerations. When the TerminatorGenerations is wrapped in a TerminatorCombo, then the minimum number of generations allowed by it are retrieved. This is the minimum of all terminator_get_generations if ⁠$any⁠ is set to TRUE, and the maximum if ⁠$any⁠ is set to FALSE.

The number of generations allowed by other Terminators is infinity.

Usage

terminator_get_generations(x)

Arguments

x

(Terminator)
Terminator to query.

Value

numeric(1): The theoretical maximum number of generations allowed by the Terminator.


[Package miesmuschel version 0.0.4-2 Index]