BWAPI
Public Types | Public Member Functions | Public Attributes
InformationManager Class Reference

#include <InformationManager.h>

Collaboration diagram for InformationManager:
Collaboration graph
[legend]

List of all members.

Public Types

enum  Expand { Natural, Gas }

Public Member Functions

 InformationManager ()
 ~InformationManager ()
void analyzeMap ()
void reserveMinerals (int minerals)
void removeReservedMinerals (int minerals)
void reserveGas (int gas)
void removeReservedGas (int gas)
int minerals ()
int gas ()
bool haveResources (BWAPI::UnitType type)
bool haveResources (BWAPI::TechType type)
bool haveResources (BWAPI::UpgradeType type)
void frameSpend (BWAPI::UnitType type)
void frameSpend (BWAPI::TechType type)
void frameSpend (BWAPI::UpgradeType type)
void buildRequest (BWAPI::UnitType type)
void buildRequest (BWAPI::UnitType type, bool checkUnic)
void criticalBuildRequest (BWAPI::UnitType type)
void criticalBuildRequest (BWAPI::UnitType type, bool first)
void addonRequest (BWAPI::UnitType addonType)
void researchRequest (BWAPI::TechType techType)
void upgradeRequest (BWAPI::UpgradeType upgradeType)
void upgradeRequest (BWAPI::UpgradeType upgradeType, int level)
void naturalExpandRequest (bool critical=false)
void gasExpandRequest (bool critical=false)
void onCommandCenterShow (BWAPI::Unit *unit)
void onEnemyResourceDepotShow (BWAPI::Unit *unit)
void onCommandCenterDestroy (BWAPI::Unit *unit)
void onEnemyResourceDepotDestroy (BWAPI::Unit *unit)
BWAPI::TilePosition getNaturalExpandPosition (BWAPI::TilePosition ignorePosition=BWAPI::TilePositions::None)
BWAPI::TilePosition getGasExpandPosition (BWAPI::TilePosition ignorePosition=BWAPI::TilePositions::None)
double get_enemy_air_dps (BWAPI::TilePosition, int cycle)
double get_enemy_ground_dps (BWAPI::TilePosition, int cycle)
double get_enemy_air_dps (int x, int y, int cycle)
double get_enemy_ground_dps (int x, int y, int cycle)
void recompute_enemy_dps (int cycle)
void drawAirDPSMap ()
void drawGroundDPSMap ()
void checkRequirements (BWAPI::UnitType type)
void seenCloakedEnemy (BWAPI::TilePosition pos)
void onMissileTurretShow (BWAPI::Unit *unit)
void onMissileTurretDestroy (BWAPI::Unit *unit)
void scanBases ()
bool useScanner (BWAPI::Unit *comsat, BWAPI::Position pos)

Public Attributes

int _mineralsReserved
int _gasReserved
int _frameMineralSpend
int _frameGasSpend
UnitSet _seenEnemies
UnitToTypeMap _enemiesType
unsigned int _minSquadSize
bool _needAntiAirUnits
bool _retreatDisabled
UnitToTimeMap _tankSiege
double _marines
double _medics
double _firebats
double _ghosts
double _vultures
double _tank
double _goliath
double _wraiths
double _enemyMarines
double _enemyMedics
double _enemyFirebats
double _enemyGhosts
double _enemyVultures
double _enemyTank
double _enemyGoliath
double _enemyWraiths
double _enemyDropship
double _enemyScienceVessel
double _enemyBattlecruiser
double _enemyValkyrie
double _enemyTurrets
double _enemyZealot
double _enemyDragoon
double _enemyHTemplar
double _enemyDTemplar
double _enemyArchon
double _enemyDArchon
double _enemyReaver
double _enemyObserver
double _enemyShuttle
double _enemyScout
double _enemyCarrier
double _enemyArbiter
double _enemyCorsair
double _enemyPhotonCanon
double _enemyZergling
double _enemyHydralisk
double _enemyOverlord
double _enemyLurker
double _enemyMutalisk
double _enemyUltralisk
double _enemyGuardian
double _enemyDevourer
double _enemySunkenColony
double _enemySporeColony
double _ourAirDPS
double _ourAntiAirHP
double _ourGroundDPS
double _ourAirHP
double _ourGroundHP
double _armySize
double _enemyAirDPS
double _enemyAntiAirHP
double _enemyGroundDPS
double _enemyAirHP
double _enemyGroundHP
double _enemyArmySize
BuildingToUnitMap _trainOrder
std::vector< BWAPI::UnitType_buildRequest
std::vector< BWAPI::UnitType_criticalBuildRequest
BuildingToAddonMap _addonOrder
BuildingToTechMap _researchOrder
BuildingToUpgradeMap _upgradeOrder
UnitToPercent _percentList
bool _autoVehicleUpgrade
bool _autoShipUpgrade
bool _autoInfanteryUpgrade
TilePositionSet _cloakedEnemyPositions
bool _turretDefenses
bool _scienceVesselDetector
Expand _expandType
std::map< BWTA::BaseLocation
*, BWAPI::TilePosition
_ourBases
std::map< BWTA::BaseLocation
*, BWAPI::Unit * > 
_basesUnderConstruction
std::set< BWTA::BaseLocation * > _emptyBases
std::set< BWTA::BaseLocation * > _enemyBases
std::set< BWAPI::TilePosition_ignoreBases
BWAPI::TilePosition _proxyPosition
bool _useProxyPosition
std::map< BWAPI::Unit
*, BWTA::Region * > 
_missileTurrets
bool _autoBuildSuplies
bool _priorCommandCenters
BWAPI::Position _enemyStartPosition
bool mapAnalyzed
BWTA::Regionhome
std::set< BWTA::BaseLocation * > startLocationCouldContainEnemy
bool _scoutedAnEnemyBase
BWTA::Chokepoint_choke
BWAPI::Position _topLeft
BWAPI::Position _bottomRight
BWAPI::Position _center
int _radius
int _last_cycle_dps_map_was_recomputed
double * _ground_enemy_dps_map
double * _air_enemy_dps_map
UnitToTimeMap _comsatStation
std::set< BWTA::BaseLocation * >
::iterator 
_lastBaseScan
std::set< BWAPI::TilePosition >
::iterator 
_lastIgnoreBaseScan

Member Enumeration Documentation

Enumerator:
Natural 
Gas 

Constructor & Destructor Documentation

Here is the call graph for this function:


Member Function Documentation

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

void InformationManager::buildRequest ( BWAPI::UnitType  type,
bool  checkUnic 
)

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

void InformationManager::gasExpandRequest ( bool  critical = false)

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

double InformationManager::get_enemy_air_dps ( int  x,
int  y,
int  cycle 
)

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

double InformationManager::get_enemy_ground_dps ( int  x,
int  y,
int  cycle 
)

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

void InformationManager::naturalExpandRequest ( bool  critical = false)

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

void InformationManager::reserveGas ( int  gas)

Here is the call graph for this function:

void InformationManager::reserveMinerals ( int  minerals)

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

void InformationManager::upgradeRequest ( BWAPI::UpgradeType  upgradeType,
int  level 
)

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines