PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pgrouting::algorithms::Pgr_astar< G >::distance_heuristic Class Reference
Inheritance diagram for pgrouting::algorithms::Pgr_astar< G >::distance_heuristic:

Public Member Functions

 distance_heuristic (B_G &g, V goal, int heuristic, double factor)
 
 distance_heuristic (B_G &g, std::vector< V > goals, int heuristic, double factor)
 
double operator() (V u)
 

Private Attributes

double m_factor
 
B_Gm_g
 
std::set< Vm_goals
 
int m_heuristic
 

Detailed Description

template<class G>
class pgrouting::algorithms::Pgr_astar< G >::distance_heuristic

Definition at line 178 of file pgr_astar.hpp.

Constructor & Destructor Documentation

template<class G>
pgrouting::algorithms::Pgr_astar< G >::distance_heuristic::distance_heuristic ( B_G g,
V  goal,
int  heuristic,
double  factor 
)
inline
template<class G>
pgrouting::algorithms::Pgr_astar< G >::distance_heuristic::distance_heuristic ( B_G g,
std::vector< V goals,
int  heuristic,
double  factor 
)
inline

Definition at line 186 of file pgr_astar.hpp.

Member Function Documentation

Member Data Documentation

template<class G>
double pgrouting::algorithms::Pgr_astar< G >::distance_heuristic::m_factor
private
template<class G>
B_G& pgrouting::algorithms::Pgr_astar< G >::distance_heuristic::m_g
private
template<class G>
int pgrouting::algorithms::Pgr_astar< G >::distance_heuristic::m_heuristic
private

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