AS AgentScopeAPI 手册 / API Reference

RegistryStats

public static class RegistryStats
源码Source io/agentscope/core/training/runner/TaskExecutionRegistry.java:251–278

注册表 Stats,对智能体行为进行评测、追踪与可观测性分析。位于 io.agentscope.core.training.runner 包。核心成员包括 getTaskCount、getTotalRunCount、getAverageRunsPerTask、toString。

Statistical information

方法摘要Method Summary

方法Method说明Description
public int getTaskCount()
获取任务数量。
Returns the task count.
public int getTotalRunCount()
获取总数运行数量。
Returns the total run count.
public double getAverageRunsPerTask()
获取 `getAverageRunsPerTask`。
Returns the average runs per task.
public String toString()
返回 `toString` 结果。
Returns the to string.

方法详情Method Detail

getTaskCount

public int getTaskCount()

获取任务数量。

Returns the task count.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/core/training/runner/TaskExecutionRegistry.java:260–262

getTotalRunCount

public int getTotalRunCount()

获取总数运行数量。

Returns the total run count.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/core/training/runner/TaskExecutionRegistry.java:264–266

getAverageRunsPerTask

public double getAverageRunsPerTask()

获取 getAverageRunsPerTask。

Returns the average runs per task.

返回Returns double
返回数值结果。Returns a numeric result.
源码Source io/agentscope/core/training/runner/TaskExecutionRegistry.java:268–270

toString

public String toString()

返回 toString 结果。

Returns the to string.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/core/training/runner/TaskExecutionRegistry.java:272–277
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.