|
BWAPI
|
#include <ThreatAwarePathfinder.h>
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) |
| MapNode * | best (std::set< MapNode * > s) |
| void | drawGrid () |
Public Attributes | |
| std::vector< MapNode * > | path |
| bool | pathFound |
| bool | findingPath |

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

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


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

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

| std::vector<MapNode*> ThreatAwarePathFinder::path |
1.7.6.1