Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
jafar::lgl::astar_goal_visitor< Vertex > Class Template Reference

Visitor that terminates when we find the goal template : Vertex is the type of the vertex of boost graph (vertex_descriptor) More...


Detailed Description

template<class Vertex>
class jafar::lgl::astar_goal_visitor< Vertex >

Visitor that terminates when we find the goal template : Vertex is the type of the vertex of boost graph (vertex_descriptor)

Definition at line 43 of file NavAStar.hpp.

#include <NavAStar.hpp>

List of all members.

Public Member Functions

 astar_goal_visitor (Vertex goal)
 Constructor.
 astar_goal_visitor (Vertex goal, boost::function< void(const NavGNode &, int)> _eventWatcher)
template<class Graph >
void examine_vertex (Vertex u, const Graph &g)
 examine_vertex is invoked when a vertex is popped from the queue (i.e., it has the lowest cost on the OPEN list).
template<class Graph >
void discover_vertex (Vertex u, const Graph &g)
 discover_vertex is invoked when a vertex is first discovered and is added to the OPEN list

Private Attributes

Vertex m_goal
boost::function< void(const
NavGNode &, int)> 
eventWatcher

Member Function Documentation

template<class Vertex>
template<class Graph >
void jafar::lgl::astar_goal_visitor< Vertex >::examine_vertex ( Vertex  u,
const Graph &  g 
) [inline]

examine_vertex is invoked when a vertex is popped from the queue (i.e., it has the lowest cost on the OPEN list).

Definition at line 59 of file NavAStar.hpp.


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

Generated on Wed Oct 15 2014 00:37:41 for Jafar by doxygen 1.7.6.1
LAAS-CNRS