载入中...
搜索中...
未找到
eve::rpg::balance::RPGBalanceSuite类 参考

Configured build/strategy/scenario tournament using production RPG Battle and settlement. @ownership Owns validated suite definitions. Each measure owns a private ECS table and event scope. Reports own values; no actor pointer, callback, event or handle escapes a bout. @thread RPG owner thread, synchronous, configure/measure reentry forbidden. Registries/hooks must not be changed during a tournament; skill/effect/class definitions are the game's canonical registries. 更多...

#include <RPGBalance.h>

类

struct  Impl
 

Public 成员函数

 RPGBalanceSuite ()
 Create an unconfigured suite.
 
 ~RPGBalanceSuite ()
 Release configuration; no game world state is owned between calls.
 
 RPGBalanceSuite (const RPGBalanceSuite &)=delete
 
RPGBalanceSuite & operator= (const RPGBalanceSuite &)=delete
 
Result< void > configure (const Value &suite)
 Validate and atomically copy version-1 suite data; unknown fields/versions are rejected.
 
Result< Value > targets () const
 Project directed target graph edges into BalanceSearch metric targets. @cost Linear in target edges; copy once when building a search specification.
 
Result< Value > measure (const Value &parameters, const Value &seeds, double dt, int rounds)
 Evaluate all unordered build pairs, independent strategy pairs, scenarios, seeds and both orders.
 

Public 属性

 SSQ_REG
 

详细描述

Configured build/strategy/scenario tournament using production RPG Battle and settlement. @ownership Owns validated suite definitions. Each measure owns a private ECS table and event scope. Reports own values; no actor pointer, callback, event or handle escapes a bout. @thread RPG owner thread, synchronous, configure/measure reentry forbidden. Registries/hooks must not be changed during a tournament; skill/effect/class definitions are the game's canonical registries.

备注
Version-1 suite uses instant turn-based skills; cast-time skills are explicitly rejected.

在文件 RPGBalance.h 第 18 行定义.

构造及析构函数说明

◆ RPGBalanceSuite() [1/2]

eve::rpg::balance::RPGBalanceSuite::RPGBalanceSuite ( )

Create an unconfigured suite.

在文件 RPGBalance.cpp 第 420 行定义.

◆ ~RPGBalanceSuite()

eve::rpg::balance::RPGBalanceSuite::~RPGBalanceSuite ( )
default

Release configuration; no game world state is owned between calls.

◆ RPGBalanceSuite() [2/2]

eve::rpg::balance::RPGBalanceSuite::RPGBalanceSuite ( const RPGBalanceSuite &  )
delete

成员函数说明

◆ configure()

Result< void > eve::rpg::balance::RPGBalanceSuite::configure ( const Value &  suite)

Validate and atomically copy version-1 suite data; unknown fields/versions are rejected.

在文件 RPGBalance.cpp 第 423 行定义.

引用了 c, eve::Conflict, error, eve::Diagnostic::error(), eve::Result< T >::failure(), input , 以及 eve::Result< T >::success().

◆ measure()

Result< Value > eve::rpg::balance::RPGBalanceSuite::measure ( const Value &  parameters,
const Value &  seeds,
double  dt,
int  rounds 
)

Evaluate all unordered build pairs, independent strategy pairs, scenarios, seeds and both orders.

参数
parametersExact named candidate values; only isolated actor/gear projections are modified.
seedsNonempty distinct uint64 seed list, encoded as integers or decimal strings; Battle folds each seed into its 32-bit random stream.
dtLogical seconds per round for canonical skill cooldown and status advancement.
roundsMaximum rounds per bout; timeouts are reported as draws, never manufactured wins.
返回
Versioned matrix, per-cell wins/draws/losses, Wilson score intervals, action evidence and metrics. @cost Quadratic in builds and strategies, linear in scenarios, seeds and round limit; run offline.

在文件 RPGBalance.cpp 第 445 行定义.

引用了 a, active, b, binding, build, builds, c, eve::CallbackFailure, cells, eve::Conflict, count, dt, edge, error, eve::Diagnostic::error(), eve::Result< T >::failure(), g, matrix, name, number, eve::Object, eve::Value::object(), parameters, params, r, required, rounds, s, score, seed, skills, eve::Result< T >::success(), trace, turns, usage, value , 以及 values.

◆ operator=()

RPGBalanceSuite & eve::rpg::balance::RPGBalanceSuite::operator= ( const RPGBalanceSuite &  )
delete

◆ targets()

Result< Value > eve::rpg::balance::RPGBalanceSuite::targets ( ) const

Project directed target graph edges into BalanceSearch metric targets. @cost Linear in target edges; copy once when building a search specification.

在文件 RPGBalance.cpp 第 434 行定义.

引用了 edge, eve::Result< T >::failure(), eve::Value::object() , 以及 targets().

被这些函数引用 targets().

类成员变量说明

◆ SSQ_REG

eve::rpg::balance::RPGBalanceSuite::SSQ_REG

在文件 RPGBalance.h 第 26 行定义.


该类的文档由以下文件生成: