#include <RandomEngine.h>
|
static int32 | GenerateRandomSeed () |
| Generate a non-deterministic random seed.
|
|
int32 | GenerateSeed () |
| Generate a seed derived from previous seed.
|
|
void | Seed (int32 InSeed) |
| Seed the random engine.
|
|
◆ GenerateRandomId()
uint64 URandomEngine::GenerateRandomId |
( |
| ) |
|
|
static |
◆ GenerateRandomSeed()
int32 URandomEngine::GenerateRandomSeed |
( |
| ) |
|
|
static |
◆ GenerateSeed()
int32 URandomEngine::GenerateSeed |
( |
| ) |
|
◆ GetBernoulliDistribution()
bool URandomEngine::GetBernoulliDistribution |
( |
float | P | ) |
|
|
inline |
◆ GetBinomialDistribution()
int32 URandomEngine::GetBinomialDistribution |
( |
int32 | T, |
|
|
float | P ) |
|
inline |
◆ GetBoolWithWeight()
bool URandomEngine::GetBoolWithWeight |
( |
float | Weight | ) |
|
|
inline |
◆ GetExponentialDistribution()
float URandomEngine::GetExponentialDistribution |
( |
float | Lambda | ) |
|
|
inline |
◆ GetIntWithWeight()
int32 URandomEngine::GetIntWithWeight |
( |
const TArray< float > & | Weights | ) |
|
|
inline |
◆ GetNormalDistribution()
float URandomEngine::GetNormalDistribution |
( |
float | Mean, |
|
|
float | StandardDeviation ) |
|
inline |
在文件 RandomEngine.h 第 110 行定义.
被这些函数引用 PathLossModel::CalculateShadowFading(), AInertialMeasurementUnit::ComputeAccelerometerNoise(), CaService::ComputeAccelerometerNoise(), AInertialMeasurementUnit::ComputeGyroscopeNoise(), CaService::ComputeSpeed(), CaService::ComputeYawNoise(), CaService::GetHeading(), CaService::GetReferencePosition(), AGnssSensor::PostPhysTick(), ARayCastLidar::PostprocessDetection() , 以及 ADVSCamera::Simulation().
◆ GetPoissonDistribution()
int32 URandomEngine::GetPoissonDistribution |
( |
float | Mean | ) |
|
|
inline |
◆ GetUniformBool()
bool URandomEngine::GetUniformBool |
( |
| ) |
|
|
inline |
◆ GetUniformFloat()
float URandomEngine::GetUniformFloat |
( |
| ) |
|
|
inline |
◆ GetUniformFloatInRange()
float URandomEngine::GetUniformFloatInRange |
( |
float | Minimum, |
|
|
float | Maximum ) |
|
inline |
◆ GetUniformIntInRange()
int32 URandomEngine::GetUniformIntInRange |
( |
int32 | Minimum, |
|
|
int32 | Maximum ) |
|
inline |
◆ PickOne()
template<typename T >
auto & URandomEngine::PickOne |
( |
const TArray< T > & | Array | ) |
|
|
inline |
◆ Seed()
void URandomEngine::Seed |
( |
int32 | InSeed | ) |
|
|
inline |
◆ Shuffle()
template<typename T >
void URandomEngine::Shuffle |
( |
TArray< T > & | Array | ) |
|
|
inline |
◆ Engine
std::minstd_rand URandomEngine::Engine |
|
private |
该类的文档由以下文件生成: