MCPcopy Create free account
hub / github.com/LARG/HFO / LowLevelFeatureExtractor

Method LowLevelFeatureExtractor

src/lowlevel_feature_extractor.cpp:10–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8using namespace rcsc;
9
10LowLevelFeatureExtractor::LowLevelFeatureExtractor(int num_teammates,
11 int num_opponents,
12 bool playing_offense) :
13 FeatureExtractor(),
14 numTeammates(num_teammates),
15 numOpponents(num_opponents),
16 playingOffense(playing_offense)
17{
18 assert(numTeammates >= 0);
19 assert(numOpponents >= 0);
20 numFeatures = num_basic_features +
21 features_per_player * (numTeammates + numOpponents);
22 feature_vec.resize(numFeatures);
23}
24
25LowLevelFeatureExtractor::~LowLevelFeatureExtractor() {}
26

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected