#include <fstream>
#include <iostream>
#include <string>
#include <cstdlib>
#include <sstream>
#include <vector>
#include <cmath>
#include <stdlib.h>
#include <map>
#include <list>
#include <algorithm>
#include <iomanip>
Go to the source code of this file.
void creatingMapAssociationGraphPoints |
( |
string |
mapPointsCentreCity, |
|
|
string |
nameCity |
|
) |
| |
It creates two different files:
- MapGraphPoints.txt: it contains a list of points and every adjacent points, where users can move. The points including within the ray are called adjacent
- MapAssociation.txt: it contains the list of all points (with geographical references) where the pedestrians move.
double dist |
( |
double |
th1, |
|
|
double |
ph1, |
|
|
double |
th2, |
|
|
double |
ph2 |
|
) |
| |
It computes the distance between two general points in the map Inputs: Longitude and latitude of two points Outputs: double value of the distance
Computes the distance in meters between two points in the map.