Custom Variables

    Documentation

    Randomness

    Randomness

    Use this type of custom variable to define a random number generator.

    Name

    Use the variable’s name to reference it in the Formula fields of nodes and connections throughout your diagrams. See the example below.

    Type

    Choose Interval from the drop-down if you want the random value to be generated from a fixed interval.

    From/To

    Use the From and To fields to define the minimum and maximum values of your interval. The interval is closed – it includes both its limit points. E.g. An interval defined as From: 2; To: 4 will generate a value x, where x is an integer greater than or equal to 2 and less than or equal to 4.

    Distribution (of probabilities)

    Gaussian – symmetric about the mean, where data near the mean are more frequent in occurrence than data far from the mean. It’s a function that represents the distribution of many random variables as a symmetrical bell-shaped graph. Read more

    Uniform – all outcomes are equally likely. Read more

    Update – when during the diagram’s execution, the value is generated.

    On Play – at the beginning of each Play. The value will be the same throughout the execution of the diagram.

    Each Step – the value will be randomly generated at the beginning of each Step of the execution.

    Name

    Use the variable’s name to reference it in the Formula fields of nodes and connections throughout your diagrams.

    Type

    Choose Array from the drop-down if you want the random value picked up from a predefined array.

    Array Values

    Use this field to input the values of the array.

    Distribution (of probabilities)

    Gaussian – symmetric about the mean, where data near the mean are more frequent in occurrence than data far from the mean. Read more

    Uniform – all outcomes are equally likely. Read more

    Update – when the value is generated.

    On Play – at the beginning of each Play. The value will be the same throughout the execution of the diagram.

    Each Step – the value will be randomly generated at the beginning of each execution Step.

    Contents

    All Rights Reserved © Machinations S.àr.l

    8217, Mamer, Luxembourg, accounts at BGL BNP PARIBAS, VAT number: LU30464284

    We use cookies for marketing and analytics. We also share information about your use of our site with our marketing and analytics partners who may combine it with other information that you’ve provided to them. You consent to our cookies if you continue to use our site. Learn more