| 8 | using namespace rcsc; |
| 9 | |
| 10 | LowLevelFeatureExtractor::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 | |
| 25 | LowLevelFeatureExtractor::~LowLevelFeatureExtractor() {} |
| 26 |
nothing calls this directly
no outgoing calls
no test coverage detected