LimenGlobalRandomStream Module
Subsystem Breakdown
Threading & Parallelism
Class Name | Role |
|---|---|
FLimenGlobalRandomStreamModule | Manages the global random stream module for generating pseudo-random numbers. |
Random Number Generation
Class Name | Role |
|---|---|
Manages a global random stream for generating random numbers and fractions. | |
Provides utility functions for generating random percentages and retrieving random reachable points within a circumference. |
Behavior Tree Integration
Class Name | Role |
|---|---|
Generates a random value in a [0, 1] range and succeeds if the generated random value is below or equal to | |
A Behavior Tree service that finds a random location within a specified radius around an origin point and stores it in the blackboard. |
Design Philosophy
The LimenGlobalRandomStream module provides a comprehensive solution for generating pseudo-random numbers, integrating seamlessly with Behavior Trees for probabilistic decision-making and spatial randomness generation.
Recommended Integration
Developers can use this system to add random behavior to their AI agents, such as varying movement patterns or decision-making probabilities.
The module can be extended by adding more utility functions in
ULimenGlobalRandomStreamUtilsfor specific random number generation needs.For Behavior Trees, developers can incorporate
UBTDecorator_RandomChanceandUBTService_FindRandomLocationto introduce randomness into their AI logic.