FIFE  2008.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
FIFE::RoutePatherSearch Class Reference

#include <routepathersearch.h>

Collaboration diagram for FIFE::RoutePatherSearch:
Collaboration graph

Public Types

enum  SearchStatus

Public Member Functions

int32_t getSessionId () const
SearchSpace * getSearchSpace () const
int32_t getSearchStatus () const

Protected Member Functions

void setSearchStatus (const SearchStatus status)

Detailed Description

RoutePatherSearch using A*

For now this class uses offline A*, however eventually this will be switched over to RTA*.

Definition at line 45 of file routepathersearch.h.

Member Enumeration Documentation

An enumeration of the different status the search can be in.

Definition at line 53 of file routepathersearch.h.

Member Function Documentation

SearchSpace* FIFE::RoutePatherSearch::getSearchSpace ( ) const
inline

Retrieves the pather.

Returns
A pointer to the abstract pather which

Definition at line 75 of file routepathersearch.h.

int32_t FIFE::RoutePatherSearch::getSearchStatus ( ) const
inline

A small function which returns the current status of the search.

Returns
An integer value representing the status, which is enumerated by this class.

Definition at line 83 of file routepathersearch.h.

int32_t FIFE::RoutePatherSearch::getSessionId ( ) const
inline

Retrieves the session id.

Returns
The searches session id in the pather.

Definition at line 67 of file routepathersearch.h.

void FIFE::RoutePatherSearch::setSearchStatus ( const SearchStatus  status)
inlineprotected

Sets the current status of the search.

Parameters
statusThe status to set.

Definition at line 92 of file routepathersearch.h.


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