BWAPI
|
00001 #ifndef PLAYERFITNESSCALCULATOR_H 00002 #define PLAYERFITNESSCALCULATOR_H 00003 #include "BWAPI.h" 00004 #include "UnitModel.h" 00005 00006 using namespace BWAPI; 00007 using namespace UnitTypes; 00008 00009 00010 class StrategyEstimator { 00011 public: 00012 StrategyEstimator(); 00013 std::pair<int,int> StrategyEstimator::calculateBuildingStrategyBias(std::vector<UnitModel*> knownBuildings); 00014 std::pair<int,int> StrategyEstimator::calculateUnitStrategyBias(std::vector<UnitModel*> knownUnits); 00015 int StrategyEstimator::estimateForceScore(std::vector<UnitModel*> knownUnits); 00016 00017 00018 00019 private: 00020 int StrategyEstimator::getGroundScore(UnitType u); 00021 int StrategyEstimator::getAirScore(UnitType u); 00022 00023 00024 }; 00025 00026 00027 00028 00029 00030 #endif