载入中...
搜索中...
未找到
eve::agent::balance::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. 更多...

#include <Balance.h>

Public 成员函数

 BalanceSearch ()=default
 Create an unconfigured search builder.
 
 BalanceSearch (const BalanceSearch &)=delete
 
BalanceSearch & operator= (const BalanceSearch &)=delete
 
Result< void > configure (const Problem &problem)
 Validate and copy a problem atomically; a failed configuration preserves the previous one.
 
Result< Report > run (IEvaluator &evaluator)
 Search on training seeds, then assess initial and best parameters on untouched holdout seeds.
 

静态 Public 成员函数

static void expose (ssq::Table &table)
 Register the VM-owned builder in the Agent script surface; composition thread only.
 
static void expose (ssq::Class &cls)
 Bind configure/run to a registered builder class; composition thread only.
 

详细描述

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.

备注
The initial configuration is always candidate zero; selection sees training seeds only. Search evaluates lower and upper parameter corners when budget permits, then uses local feasible coordinate restoration, SplitMix64, global exploration and shrinking mutations of the best proposal. Same build and deterministic evaluator reproduce results; cross-platform floating point uses tolerance. No ECS state, links, persistence, rendering or optional backend is introduced.

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

构造及析构函数说明

◆ BalanceSearch() [1/2]

eve::agent::balance::BalanceSearch::BalanceSearch ( )
default

Create an unconfigured search builder.

被这些函数引用 expose().

◆ BalanceSearch() [2/2]

eve::agent::balance::BalanceSearch::BalanceSearch ( const BalanceSearch &  )
delete

成员函数说明

◆ configure()

Result< void > eve::agent::balance::BalanceSearch::configure ( const Problem &  problem)

Validate and copy a problem atomically; a failed configuration preserves the previous one.

在文件 Balance.cpp 第 92 行定义.

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

被这些函数引用 expose().

◆ expose() [1/2]

void eve::agent::balance::BalanceSearch::expose ( ssq::Class &  cls)
static

◆ expose() [2/2]

void eve::agent::balance::BalanceSearch::expose ( ssq::Table &  table)
static

Register the VM-owned builder in the Agent script surface; composition thread only.

在文件 BalanceBindings.cpp 第 71 行定义.

引用了 BalanceSearch(), cls , 以及 expose().

被这些函数引用 expose().

◆ operator=()

BalanceSearch & eve::agent::balance::BalanceSearch::operator= ( const BalanceSearch &  )
delete

◆ run()

Result< Report > eve::agent::balance::BalanceSearch::run ( IEvaluator &  evaluator)

Search on training seeds, then assess initial and best parameters on untouched holdout seeds.

返回
Owning proposal or a validation/callback failure; no partial report is published. @cost Up to candidates times training seed count plus twice holdout seed count domain rollouts; use offline or at a loading boundary, never once per frame. Maximum 65536 rollouts per run.

在文件 Balance.cpp 第 99 行定义.

引用了 a, active, eve::agent::balance::Report::baseline, eve::agent::balance::Report::baselineValidation, eve::Conflict, eve::Diagnostic::error(), eve::agent::balance::Report::evaluations, eve::Result< T >::failure(), index, eve::agent::balance::Assessment::loss, eve::agent::balance::Assessment::metrics, eve::agent::balance::OutsideTargets, p, eve::agent::balance::Report::parameters, eve::agent::balance::Report::problem, radius, random, eve::agent::balance::Assessment::score, eve::Result< T >::success(), eve::agent::balance::Report::tuned, eve::agent::balance::Report::validation, values, eve::agent::balance::Report::verdict, width, eve::agent::balance::WithinTargets , 以及 x.

被这些函数引用 expose().


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