Artificial Intelligence
Classes | Static Public Member Functions | Static Protected Member Functions | Private Types | Static Private Member Functions

GamePipe::Pathfinding Class Reference

#include <Pathfinding.h>

List of all members.

Classes

struct  node
struct  node_less

Static Public Member Functions

static std::list< GraphNode * > findPath (GraphNode *, GraphNode *, GridWorld *, bool=false)
static std::list< GraphNode * > findPath (GraphNode *, GraphNode *, GraphWorld *)

Static Protected Member Functions

static Ogre::Real cost (GraphNode *, GraphNode *, GridWorld *)
static Ogre::Real cost (GraphNode *, GraphNode *, GraphWorld *)

Private Types

typedef std::map< Ogre::String,
node * > 
closedSet
typedef std::priority_queue
< node *, std::vector< node * >
, node_less
openSet

Static Private Member Functions

static Ogre::String toString (GraphNode *)
static bool evaluateMove (closedSet &, openSet &, int, int, node *, GraphNode *, GridWorld *)

Member Typedef Documentation

typedef std::map<Ogre::String, node*> GamePipe::Pathfinding::closedSet [private]
typedef std::priority_queue<node*,std::vector<node*>,node_less> GamePipe::Pathfinding::openSet [private]

Member Function Documentation

Ogre::Real Pathfinding::cost ( GraphNode left,
GraphNode right,
GridWorld world 
) [static, protected]
static Ogre::Real GamePipe::Pathfinding::cost ( GraphNode ,
GraphNode ,
GraphWorld  
) [static, protected]
bool Pathfinding::evaluateMove ( closedSet closed,
openSet open,
int  x,
int  y,
node current,
GraphNode goal,
GridWorld world 
) [static, private]
list< GraphNode * > Pathfinding::findPath ( GraphNode start,
GraphNode goal,
GraphWorld world 
) [static]
list< GraphNode * > Pathfinding::findPath ( GraphNode start,
GraphNode goal,
GridWorld world,
bool  diagonal = false 
) [static]
Ogre::String Pathfinding::toString ( GraphNode currentNode) [static, private]

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