outcomeswhile
Outcomeswhile is a term used in theoretical discussions of iterative processes to describe a scheme in which a sequence of outcomes is produced and retained as long as a specified condition remains true. The emphasis is on the collection and analysis of results from successive iterations, rather than on the control flow itself. The term is not widely standardized and appears primarily in pedagogical or exploratory writings about simulations, experiments, and decision models.
In practice, outcomeswhile couples a condition check with an outcome generator. At each iteration, an outcome
Origin and usage: The coinage is informal and descriptive rather than tied to a specific programming language.
Example: In a simple simulation, we generate outcomes of rolling a six-sided die until the cumulative sum
Relation to related concepts: It shares features with standard while loops and with data streaming or accumulating