载入中...
搜索中...
未找到
eve::agent::balance 命名空间参考

类

struct  Assessment
 Owning measurements; score includes parameter drift, loss contains only target violations. 更多...
 
class  BalanceSearch
 Configure-then-run builder for bounded black-box numerical balancing. @ownership Owns configuration; borrows evaluators synchronously and returns owning reports. @thread Owner thread only. configure/run reentry returns Conflict. No background work or retained callbacks. 更多...
 
class  IEvaluator
 Game-owned isolated simulation adapter, not a second combat implementation. @ownership Caller owns the adapter. Inputs are borrowed only during evaluate; output owns its metrics. @thread Domain owner thread. No locks are held; do not reenter/destroy the search or adapter in callbacks. 更多...
 
struct  Metric
 Per-target sample mean and sample standard deviation across the specified seeds. 更多...
 
struct  Parameter
 One tunable scalar; equal bounds freeze it. Names are unique adapter keys. 更多...
 
struct  Problem
 Owning search specification. Seeds for tuning and holdout must be unique and disjoint. 更多...
 
struct  Report
 Owning proposal and evidence. No game configuration is modified by the search. 更多...
 
struct  Target
 Desired metric interval; scale normalizes units, weight expresses design priority. 更多...
 

枚举

enum class  Verdict { WithinTargets , OutsideTargets }
 Holdout status concerns metric means only; it is not a statistical confidence guarantee. 更多...
 

函数

Result< Problem > decodeProblem (const Value &value)
 Decode version-1 problem data; reject unknown schema/version/fields and invalid types.
 
Value encodeBalanceReport (const Report &report)
 Project an owning version-1 evidence report, including the full reproduction specification. @cost Linear in parameters, targets and seed counts; serialize at job completion rather than per tick.
 

枚举类型说明

◆ Verdict

enum class eve::agent::balance::Verdict
strong

Holdout status concerns metric means only; it is not a statistical confidence guarantee.

枚举值
WithinTargets 
OutsideTargets 

在文件 Balance.h 第 83 行定义.

函数说明

◆ decodeProblem()

EVENGINE_API_FOUNDATION Result< Problem > eve::agent::balance::decodeProblem ( const Value &  value)

Decode version-1 problem data; reject unknown schema/version/fields and invalid types.

返回
Owning unchecked domain specification; configure validates bounds and budgets atomically. @cost Linear in input size, bounded to 64 parameters, 128 targets and 128 seeds per set.

在文件 BalanceCodec.cpp 第 100 行定义.

引用了 decodeProblem(), number, object, p, eve::agent::balance::Problem::parameters, eve::ParseError, required, s, t, text, value, eve::agent::balance::Target::weight , 以及 x.

被这些函数引用 decodeProblem() , 以及 eve::agent::balance::BalanceSearch::expose().

◆ encodeBalanceReport()

EVENGINE_API_FOUNDATION Value eve::agent::balance::encodeBalanceReport ( const Report &  r)

Project an owning version-1 evidence report, including the full reproduction specification. @cost Linear in parameters, targets and seed counts; serialize at job completion rather than per tick.

在文件 BalanceCodec.cpp 第 139 行定义.

引用了 encodeBalanceReport(), p, parameters , 以及 r.

被这些函数引用 encodeBalanceReport() , 以及 eve::agent::balance::BalanceSearch::expose().