PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
astar_many_to_many_driver.cpp File Reference
#include "./astar_many_to_many_driver.h"
#include <sstream>
#include <deque>
#include <algorithm>
#include <vector>
#include "./pgr_astar.hpp"
#include "./../../common/src/pgr_alloc.hpp"
#include "./../../common/src/pgr_assert.h"
#include "./../../common/src/pgr_types.h"

Go to the source code of this file.

Functions

void check_parameters (int heuristic, double factor, double epsilon)
 
void do_pgr_astarManyToMany (Pgr_edge_xy_t *edges, size_t total_edges, int64_t *start_vidsArr, size_t size_start_vidsArr, int64_t *end_vidsArr, size_t size_end_vidsArr, bool directed, int heuristic, double factor, double epsilon, bool only_cost, bool normal, General_path_element_t **return_tuples, size_t *return_count, char **log_msg, char **notice_msg, char **err_msg)
 
template<class G >
std::deque< Pathpgr_astar (G &graph, std::vector< int64_t > sources, std::vector< int64_t > targets, int heuristic, double factor, double epsilon, bool only_cost, bool normal)
 

Function Documentation

void check_parameters ( int  heuristic,
double  factor,
double  epsilon 
)

Definition at line 45 of file astar_many_to_many_driver.cpp.

Referenced by process().

void do_pgr_astarManyToMany ( Pgr_edge_xy_t edges,
size_t  total_edges,
int64_t *  start_vidsArr,
size_t  size_start_vidsArr,
int64_t *  end_vidsArr,
size_t  size_end_vidsArr,
bool  directed,
int  heuristic,
double  factor,
double  epsilon,
bool  only_cost,
bool  normal,
General_path_element_t **  return_tuples,
size_t *  return_count,
char **  log_msg,
char **  notice_msg,
char **  err_msg 
)
template<class G >
std::deque<Path> pgr_astar ( G &  graph,
std::vector< int64_t >  sources,
std::vector< int64_t >  targets,
int  heuristic,
double  factor,
double  epsilon,
bool  only_cost,
bool  normal 
)