Tactics: Western Philosophers Vs. Musicians  0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
OpenSkyNet::PF::PriorityQueue Class Reference

#include <PFAStar.h>

Public Member Functions

 PriorityQueue ()
 
 ~PriorityQueue ()
 
void insert (AStarNode *node_)
 
void removeMin (AStarNode *&min_)
 
void init (const Math::Point< int > &bin_)
 
bool isEmpty () const
 
float getMinGCost (Math::Point< int > bin_) const
 
void processSuccessor (AStarNode *curr_, AStarNode *successor_, const Math::Point< int > &targBin_, CD::DIRECTION prevDir_)
 
void getDirsOrPaths (AStarNode *curr_, std::vector< DirOrPath > &dirsOrPaths_) const
 

Public Attributes

Utils::HashTableUIntKeys
< AStarNode * > 
_nodes
 

Detailed Description

Priority queue class for use internally by PF::Manager.

Constructor & Destructor Documentation

PriorityQueue::PriorityQueue ( )
PriorityQueue::~PriorityQueue ( )

Member Function Documentation

void PriorityQueue::getDirsOrPaths ( AStarNode curr_,
std::vector< DirOrPath > &  dirsOrPaths_ 
) const
float OpenSkyNet::PF::PriorityQueue::getMinGCost ( Math::Point< int >  bin_) const
inline
void PriorityQueue::init ( const Math::Point< int > &  bin_)
void OpenSkyNet::PF::PriorityQueue::insert ( AStarNode node_)
inline
bool OpenSkyNet::PF::PriorityQueue::isEmpty ( ) const
inline
void OpenSkyNet::PF::PriorityQueue::processSuccessor ( AStarNode curr_,
AStarNode successor_,
const Math::Point< int > &  targBin_,
CD::DIRECTION  prevDir_ 
)
inline
void OpenSkyNet::PF::PriorityQueue::removeMin ( AStarNode *&  min_)
inline

Member Data Documentation

Utils::HashTableUIntKeys<AStarNode*> OpenSkyNet::PF::PriorityQueue::_nodes

The documentation for this class was generated from the following files: