载入中...
搜索中...
未找到
eve::crowd::AdvanceBudget结构体 参考

Deterministic operation budgets; exhaustion rejects the entire step before publication. 更多...

#include <Crowd.h>

Public 属性

int maxSubsteps = 1024
 
int maxContactPasses = 12
 
std::int64_t maxGridCells = 4 * 1024 * 1024
 Occupied sparse cells, independent of empty world extent.
 
std::int64_t maxNeighborVisits = std::numeric_limits<std::int64_t>::max()
 
std::int64_t maxPredictionChecks = std::numeric_limits<std::int64_t>::max()
 
std::int64_t maxContactChecks = std::numeric_limits<std::int64_t>::max()
 
std::int64_t maxSpatialVisits = std::numeric_limits<std::int64_t>::max()
 Query row/cell/binary-search work.
 
std::int64_t maxContactPairs = 1000000
 Live candidate-pair entries per pass; never truncated.
 
std::int64_t maxPairVisits
 Count/prefix/init/fill/sort work per advance.
 
std::int64_t maxPreferredNeighbors
 Complete preferred-neighbor entries per substep; never truncated.
 
std::int64_t maxPreferredVisits
 Workspace/count/prefix/fill/force visits.
 

详细描述

Deterministic operation budgets; exhaustion rejects the entire step before publication.

在文件 Crowd.h 第 71 行定义.

类成员变量说明

◆ maxContactChecks

std::int64_t eve::crowd::AdvanceBudget::maxContactChecks = std::numeric_limits<std::int64_t>::max()

在文件 Crowd.h 第 77 行定义.

被这些函数引用 eve::crowd::Crowd::Impl::resolveOverlapsPass().

◆ maxContactPairs

std::int64_t eve::crowd::AdvanceBudget::maxContactPairs = 1000000

Live candidate-pair entries per pass; never truncated.

在文件 Crowd.h 第 79 行定义.

被这些函数引用 eve::crowd::Crowd::Impl::resolveOverlapsPass().

◆ maxContactPasses

int eve::crowd::AdvanceBudget::maxContactPasses = 12

在文件 Crowd.h 第 73 行定义.

◆ maxGridCells

std::int64_t eve::crowd::AdvanceBudget::maxGridCells = 4 * 1024 * 1024

Occupied sparse cells, independent of empty world extent.

在文件 Crowd.h 第 74 行定义.

被这些函数引用 eve::crowd::Crowd::Impl::rebuildGrid().

◆ maxNeighborVisits

std::int64_t eve::crowd::AdvanceBudget::maxNeighborVisits = std::numeric_limits<std::int64_t>::max()

◆ maxPairVisits

std::int64_t eve::crowd::AdvanceBudget::maxPairVisits
初始值:
=
std::numeric_limits<std::int64_t>::max()

Count/prefix/init/fill/sort work per advance.

在文件 Crowd.h 第 80 行定义.

被这些函数引用 eve::crowd::Crowd::Impl::resolveOverlapsPass().

◆ maxPredictionChecks

std::int64_t eve::crowd::AdvanceBudget::maxPredictionChecks = std::numeric_limits<std::int64_t>::max()

在文件 Crowd.h 第 76 行定义.

◆ maxPreferredNeighbors

std::int64_t eve::crowd::AdvanceBudget::maxPreferredNeighbors
初始值:
=
1000000

Complete preferred-neighbor entries per substep; never truncated.

在文件 Crowd.h 第 82 行定义.

◆ maxPreferredVisits

std::int64_t eve::crowd::AdvanceBudget::maxPreferredVisits
初始值:
=
std::numeric_limits<std::int64_t>::max()

Workspace/count/prefix/fill/force visits.

在文件 Crowd.h 第 84 行定义.

被这些函数引用 eve::crowd::Crowd::Impl::spendPreferredWork().

◆ maxSpatialVisits

std::int64_t eve::crowd::AdvanceBudget::maxSpatialVisits = std::numeric_limits<std::int64_t>::max()

Query row/cell/binary-search work.

在文件 Crowd.h 第 78 行定义.

被这些函数引用 eve::crowd::Crowd::Impl::forEachNeighbor() , 以及 eve::crowd::Crowd::Impl::prepareAvoidanceNeighbors().

◆ maxSubsteps

int eve::crowd::AdvanceBudget::maxSubsteps = 1024

在文件 Crowd.h 第 72 行定义.


该结构体的文档由以下文件生成: