RandomNumberGenerator

Generates a uniformly distributed random number.

The random number is x, where Minimum Value <= x <= Maximum Value.

Output Ports

Note: Feature order may change in relation to other output ports. Feature order per port is maintained.

Parameters

Usage Notes

RandomNumberGenerator generates random numbers using the Tcl rand() function. The numbers generated by this function may not be considered truly random, because rand() requires an initial seed value, which determines the sequence of numbers that is generated. There are no more than 2^31 possible random number sequences, and these sequences repeat after 2^31 times. The same seed value, used repeatedly, generates the same numbers. Additionally, the sequence, by design, never produces the same number twice in a row.

Editing Transformer Parameters

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.

Transformer Categories

Calculated Values

Strings

Technical History

Associated FME function or factory: @Evaluate, @Tcl2

 

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

Search for samples and information about this transformer on the FME Community.