Generate a random integer within the specified range
generate_random_array
Generate a random array of specified length
generate_random_weighted
Randomly select an option based on weights
generate_random_feature
Generate a set of random feature values for objects, each feature value within its specified range. Feature values are encoded into a bitmap, with each feature occupying 8 bits
generate_distribution
Generate random numbers according to specified probability distribution type and parameters. Supports various common probability distributions.
generate_random_event
Trigger a series of events based on given probabilities, each event has an independent trigger probability. Uses bitmap to record trigger status for easy processing.