terminator_get_generations: Get the Numger of Generations that a Terminator Allows

View source: R/TerminatorGenerations.R

terminator_get_generationsR 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.


miesmuschel documentation built on Sept. 11, 2024, 8:23 p.m.