pgRouting
pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BDATester.cpp File Reference
#include "BiDirAStar.h"
#include "utils.h"
#include <math.h>
#include <time.h>
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Macros

#define EPS   1e-8
 

Functions

void loadGraph (std::string edgeFile)
 
int main ()
 
void match (std::string fileName1, std::string fileName2, std::string outFile, double ttime)
 
void write_result (std::string fileName, int res)
 

Variables

char buff [1024]
 
int edge_count
 
edge_astar_tedges
 
char * err_msg
 
int kase
 
int maxNode
 
path_element_tpath
 
int path_count
 
std::vector< edge_astar_tvecEdges
 

Macro Definition Documentation

#define EPS   1e-8

Definition at line 42 of file BDATester.cpp.

Referenced by match().

Function Documentation

void loadGraph ( std::string  edgeFile)
void match ( std::string  fileName1,
std::string  fileName2,
std::string  outFile,
double  ttime 
)

Definition at line 139 of file BDATester.cpp.

References buff, EPS, and kase.

Referenced by main().

void write_result ( std::string  fileName,
int  res 
)

Definition at line 119 of file BDATester.cpp.

References err_msg, and path_count.

Referenced by main().

Variable Documentation

char buff[1024]

Definition at line 48 of file BDATester.cpp.

Referenced by loadGraph(), main(), and match().

int edge_count
int kase

Definition at line 52 of file BDATester.cpp.

Referenced by main(), and match().

std::vector<edge_astar_t> vecEdges

Definition at line 45 of file BDATester.cpp.