载入中...
搜索中...
未找到
AgentModule.cpp
浏览该文件的文档.
1#include "agent/AgentModule.h"
2#include <simplesquirrel/simplesquirrel.hpp>
3#include "agent/Balance.h"
4
5namespace eve::agent {
7void Agent::expose(ssq::Table& table) {
8 auto cls = table.addClass(name, Agent::create, false);
9 expose(cls);
11}
12} // namespace eve::agent
HSQOBJECT cls
Definition ECS.cpp:39
#define Module_IMPL(ModuleName, newExpr)
Definition Module.h:27
Squirrel entry eve.Agent(): owner-thread synchronous training, inference and replay.
Definition AgentModule.h:12
static Agent * create()
Borrow the registered singleton. @ownership Borrowed; ModuleManager owns the returned module....
static const char * name
Definition AgentModule.h:26
static void expose(ssq::Table &table)
Register the VM-owned builder in the Agent script surface; composition thread only.