Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MultipleIterator

Provides methods to iterate over multiple distributions.

Hierarchy

  • MultipleIterator

Index

Methods

Methods

Static iterate

  • Iterates over all the variables and their states found in [subsets].

    At each iteration [combination] is called, and [subsetRows] contains the equivalent row in each subset.

    Parameters

    • subsets: VariableContextCollection[]

      The distribution to iterate over.

    • subsetRows: number[]

      Contains the equivalent row in each subset at a particular iteration (combination).

    • combination: function

      A method which is called for each iteration.

        • (): void
        • Returns void

    Returns void

  • Iterates over all the variables and their states found in [subsets].

    At each iteration [combination] is called, and [subsetRows] contains the equivalent row in each subset.

    Parameters

    • supersetVariables: VariableContextCollection

      The collection of unique variables (and maybe times) contained in the subsets.

    • subsets: VariableContextCollection[]

      The distribution who want to iterate over.

    • subsetRows: number[]

      Contains the equivalent row in each subset at a particular iteration (combination).

    • combination: function

      A method which is called for each iteration.

        • (): void
        • Returns void

    Returns void