User Tools

Site Tools


01_user_documentation:07_rgg_xl:02_xl:10_rgg_addition:03_method_import:03_selection_operators

Selection Operators

Default Filter methods:

first( (*query*) )

Default aggregate methods:

selectRandomly selects one value out of all values based on a pseudo random number generator. It chooses the value using a uniform distribution. A variant exists which takes a further double parameter which specifies the relative probability of choosing the corresponding value (e. g., selectRandomly(x = nodes(), prob(x)) randomly chooses one of the objects yielded by nodes, the relative probability being given by some function prob).

selectWhere has a further boolean parameter. The first value of the sequence for which true is passed to this parameter is used as the result of aggregation.

selectWhereMax and selectWhereMin have a further numeric parameter. The value of the sequence for which the corresponding parameter value is maximal or minimal, respectively, is taken as the result of aggregation.

01_user_documentation/07_rgg_xl/02_xl/10_rgg_addition/03_method_import/03_selection_operators.txt · Last modified: 2025/08/20 10:32 by gaetan