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.
