#include <sample.h>
cherrypi::bos::Sample::Sample |
( |
| ) |
|
|
default |
cherrypi::bos::Sample::Sample |
( |
State * |
state, |
|
|
int |
res, |
|
|
int |
sride, |
|
|
std::shared_ptr< StaticData > |
sd = nullptr |
|
) |
| |
virtual cherrypi::bos::Sample::~Sample |
( |
| ) |
|
|
virtualdefault |
torch::Tensor cherrypi::bos::Sample::featurize |
( |
BosFeature |
feature, |
|
|
torch::Tensor |
buffer = torch::Tensor() |
|
) |
| const |
ag::tensor_list cherrypi::bos::Sample::featurize |
( |
std::vector< BosFeature > |
features | ) |
const |
void cherrypi::bos::Sample::renormV2Features |
( |
| ) |
|
template<class Archive >
void cherrypi::bos::Sample::serialize |
( |
Archive & |
ar, |
|
|
uint32_t const |
version |
|
) |
| |
|
inline |
std::map< int, autobuild::BuildState > cherrypi::bos::Sample::simulateAbbo |
( |
State * |
state, |
|
|
std::string const & |
buildOrder, |
|
|
std::vector< int > const & |
frameOffsets |
|
) |
| |
|
static |
std::string cherrypi::bos::Sample::buildOrder |
Frame number of this sample.
Future autobuild states for given frame offsets.
std::string cherrypi::bos::Sample::nextBuildOrder |
Build order until next sample.
uint64_t cherrypi::bos::Sample::pendingTechs = 0 |
Techs that are currently being researched.
uint64_t cherrypi::bos::Sample::pendingUpgrades = 0 |
Upgrades that are currently being researched.
uint64_t cherrypi::bos::Sample::pendingUpgradesLevel = 0 |
Levels for upgrades that are currently researched.
std::shared_ptr<StaticData> cherrypi::bos::Sample::staticData |
bool cherrypi::bos::Sample::switched = false |
Whether we've switched the build order after taking this sample.
Defogger style unit types in spatial representation.
The documentation for this struct was generated from the following files:
- src/models/bos/sample.h
- src/models/bos/sample.cpp