BWAPI
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
AssaultSectorTask Class Reference

#include <AssaultSectorTask.h>

Inheritance diagram for AssaultSectorTask:
Inheritance graph
[legend]
Collaboration diagram for AssaultSectorTask:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AssaultSectorTask (MapSector *sector, Environment *env)
virtual ~AssaultSectorTask (void)
virtual void addAgent (Agent *agent)
virtual void removeAgent (Agent *agent)
MapSectorgetSector ()
int getReadyRange ()
Position getGroupPosition ()
bool isAssaultReady ()
double getAirStrength ()
double getGroundStrength ()
double getMinimumAttackAirStrength ()
double getMinimumAttackGroundStrength ()
double getEnemyAirStrength ()
double getEnemyGroundStrength ()
double getMinimumDefenseAirStrength ()
double getMinimumDefenseGroundStrength ()
Unit * getTargetEnemy ()
virtual void calculatePriority ()
virtual double evaluateAptitude (Agent *agent)
virtual void evaluateStatus ()
virtual void evaluateNeededUnits ()
virtual bool execute (Agent *agent)

Static Public Member Functions

static void generateNecessaryTasks (Environment *env)
static SectorList prioritizeSectors (Environment *env)
static double evaluateAptitudeForTask (MapSector *sector, Agent *agent, Position groupPosition=Positions::None)

Protected Member Functions

void evaluateAssaultReadyness ()
bool marineExecute (Agent *agent)
bool medicExecute (Agent *agent)
bool wraithExecute (Agent *agent)
bool tankExecute (Agent *agent)
bool siegeExecute (Agent *agent)

Protected Attributes

MapSector_sector
int _assaultCount
bool _isAssaultReady
unsigned int _unitsNeeded
int _readyRange
Position _groupPosition
double _airStrength
double _groundStrength
double _minimumAttackAirStrength
double _minimumAttackGroundStrength
double _enemyAirStrength
double _enemyGroundStrength
double _minimumDefenseAirStrength
double _minimumDefenseGroundStrength
Unit * _targetEnemy
Agent_centerAgent
UnitTypeCountMap _unitTypeCounts

Constructor & Destructor 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:


Member Function Documentation

void AssaultSectorTask::addAgent ( Agent agent) [virtual]

Reimplemented from Task.

Here is the call graph for this function:

Implements Task.

Here is the call graph for this function:

double AssaultSectorTask::evaluateAptitude ( Agent agent) [virtual]

Implements Task.

Here is the call graph for this function:

double AssaultSectorTask::evaluateAptitudeForTask ( MapSector sector,
Agent agent,
Position  groupPosition = Positions::None 
) [static]

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:

Implements Task.

Here is the call graph for this function:

Implements Task.

Here is the call graph for this function:

bool AssaultSectorTask::execute ( Agent agent) [virtual]

Implements Task.

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:

Here is the caller 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:

Here is the caller 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:

Here is the caller graph for this function:

Here is the caller graph for this function:

bool AssaultSectorTask::marineExecute ( Agent agent) [protected]

Here is the call graph for this function:

Here is the caller graph for this function:

bool AssaultSectorTask::medicExecute ( Agent agent) [protected]

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 AssaultSectorTask::removeAgent ( Agent agent) [virtual]

Reimplemented from Task.

Here is the call graph for this function:

bool AssaultSectorTask::siegeExecute ( Agent agent) [protected]

Here is the call graph for this function:

Here is the caller graph for this function:

bool AssaultSectorTask::tankExecute ( Agent agent) [protected]

Here is the call graph for this function:

Here is the caller graph for this function:

bool AssaultSectorTask::wraithExecute ( Agent agent) [protected]

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

double AssaultSectorTask::_airStrength [protected]
Position AssaultSectorTask::_groupPosition [protected]
unsigned int AssaultSectorTask::_unitsNeeded [protected]

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