#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>
#include "../Headers/Position.h"
#include "../Headers/Location.h"
#include "../Headers/Sample.h"
#include "../Headers/Smartphones.h"
#include "../Headers/User.h"
#include "../Headers/Antenna.h"
#include "../Headers/Event.h"
#include "../Headers/MapCity.h"
Go to the source code of this file.
|
| #define | MODULE 2147483647 |
| |
| #define | MYA 16807 |
| |
| #define | LASTXN 127773 |
| |
| #define | UPTOMOD -2836 |
| |
| #define | RATIO 0.46566128e-9 |
| |
| #define | pi 3.14159265358979323846 |
| |
| #define | R 6371 |
| |
| #define | TO_RAD (3.1415926536 / 180) |
| |
| #define MODULE 2147483647 |
| #define pi 3.14159265358979323846 |
| #define RATIO 0.46566128e-9 |
| #define TO_RAD (3.1415926536 / 180) |
| double fRand |
( |
double |
fMin, |
|
|
double |
fMax |
|
) |
| |
| double havdist |
( |
double |
th1, |
|
|
double |
ph1, |
|
|
double |
th2, |
|
|
double |
ph2 |
|
) |
| |
It computes the distance in meters between two different points, given the Latitude and Longitude coordinates.
| std::string PrintByteUnit |
( |
long double |
bytes | ) |
|
It converts bytes values in KB/MB/GB automatically.
| std::string PrintByteUnitInMiB |
( |
long double |
bytes | ) |
|
It converts byte values in MiB.
| double uniform |
( |
double |
a, |
|
|
double |
b, |
|
|
long * |
seed |
|
) |
| |