BWAPI
Public Member Functions | Public Attributes
ThreatAwarePathFinder Class Reference

#include <ThreatAwarePathfinder.h>

List of all members.

Public Member Functions

 ThreatAwarePathFinder (InformationManagerAgent *im, AgentPool *p)
std::set< MapNode * > getNeighbours (MapNode *p, int precision)
std::set< MapNode * > pathFind (TilePosition s, TilePosition g, int precision)
std::set< MapNode * > gaussianPathFind (TilePosition s, TilePosition g, int precision)
bool contains (std::set< MapNode * > s, MapNode *g)
bool remove (std::set< MapNode * > s, MapNode *g)
MapNodebest (std::set< MapNode * > s)
void drawGrid ()

Public Attributes

std::vector< MapNode * > path
bool pathFound
bool findingPath

Constructor & Destructor Documentation

Here is the call graph for this function:


Member Function Documentation

bool ThreatAwarePathFinder::contains ( std::set< MapNode * >  s,
MapNode g 
)

Here is the call graph for this function:

std::set< MapNode * > ThreatAwarePathFinder::gaussianPathFind ( TilePosition  s,
TilePosition  g,
int  precision 
)
std::set< MapNode * > ThreatAwarePathFinder::getNeighbours ( MapNode p,
int  precision 
)

Here is the call graph for this function:

Here is the caller graph for this function:

std::set< MapNode * > ThreatAwarePathFinder::pathFind ( TilePosition  s,
TilePosition  g,
int  precision 
)

Here is the call graph for this function:

bool ThreatAwarePathFinder::remove ( std::set< MapNode * >  s,
MapNode g 
)

Here is the call graph for this function:


Member Data Documentation


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