R/TerminatorGenerations.R
terminator_get_generations.Rd
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 Terminator
s is infinity.
terminator_get_generations(x)
(Terminator
)Terminator
to query.
numeric(1)
: The theoretical maximum number of generations allowed by the Terminator
.