Go to the source code of this file.
Classes | |
class | NeighborHandle |
Namespaces | |
olfati_saber_flocking | |
Macros | |
#define | A 5 |
#define | B 5 |
#define | C1 0.3 |
#define | C2 0.3 |
#define | D 10 |
#define | EPSILON 0.1 |
#define | H 0.2 |
#define | PI 3.14159265358979323846 |
#define | R 12 |
Functions | |
double | a_ij (pair< double, double > j_p) |
pair< double, double > | f_d () |
pair< double, double > | f_g () |
pair< double, double > | f_r () |
pair< double, double > | get_vector (pair< double, double > start, pair< double, double > end) |
double | phi (double z) |
double | phi_alpha (double z) |
double | rho (double z) |
double | segma_1 (double z) |
pair< double, double > | segma_epsilon (pair< double, double > v) |
double | segma_norm (pair< double, double > v) |
Variables | |
const double | C = abs(A-B) / sqrt(4*A*B) |
double | D_alpha = segma_norm(pair<double,double>(D,0)) |
double | interval = 0.01 |
pair< double, double > | my_position =pair<double,double>(0,0) |
pair< double, double > | my_velocity =pair<double,double>(0,0) |
static list< NeighborHandle * > | neighbor_list |
double | pm1 =1 |
double | pm2 =3 |
double | pm3 =1 |
double | R_alpha = segma_norm(pair<double,double>(R,0)) |
Software License Agreement (BSD)
Definition in file olfati_saber_flocking.cpp.
#define A 5 |
Definition at line 27 of file olfati_saber_flocking.cpp.
#define B 5 |
Definition at line 28 of file olfati_saber_flocking.cpp.
#define C1 0.3 |
Definition at line 33 of file olfati_saber_flocking.cpp.
#define C2 0.3 |
Definition at line 34 of file olfati_saber_flocking.cpp.
#define D 10 |
Definition at line 31 of file olfati_saber_flocking.cpp.
#define EPSILON 0.1 |
Definition at line 26 of file olfati_saber_flocking.cpp.
#define H 0.2 |
Definition at line 30 of file olfati_saber_flocking.cpp.
#define PI 3.14159265358979323846 |
Definition at line 25 of file olfati_saber_flocking.cpp.
#define R 12 |
Definition at line 32 of file olfati_saber_flocking.cpp.
double a_ij | ( | pair< double, double > | j_p | ) |
Definition at line 131 of file olfati_saber_flocking.cpp.
pair<double,double> f_d | ( | ) |
Definition at line 136 of file olfati_saber_flocking.cpp.
pair<double,double> f_g | ( | ) |
Definition at line 118 of file olfati_saber_flocking.cpp.
pair<double,double> f_r | ( | ) |
Definition at line 149 of file olfati_saber_flocking.cpp.
pair<double,double> get_vector | ( | pair< double, double > | start, |
pair< double, double > | end | ||
) |
Definition at line 65 of file olfati_saber_flocking.cpp.
double phi | ( | double | z | ) |
Definition at line 99 of file olfati_saber_flocking.cpp.
double phi_alpha | ( | double | z | ) |
Definition at line 113 of file olfati_saber_flocking.cpp.
double rho | ( | double | z | ) |
Definition at line 104 of file olfati_saber_flocking.cpp.
double segma_1 | ( | double | z | ) |
Definition at line 94 of file olfati_saber_flocking.cpp.
pair<double,double> segma_epsilon | ( | pair< double, double > | v | ) |
Definition at line 84 of file olfati_saber_flocking.cpp.
double segma_norm | ( | pair< double, double > | v | ) |
Definition at line 73 of file olfati_saber_flocking.cpp.
double D_alpha = segma_norm(pair<double,double>(D,0)) |
Definition at line 82 of file olfati_saber_flocking.cpp.
double interval = 0.01 |
Definition at line 148 of file olfati_saber_flocking.cpp.
pair<double,double> my_position =pair<double,double>(0,0) |
Definition at line 62 of file olfati_saber_flocking.cpp.
pair<double,double> my_velocity =pair<double,double>(0,0) |
Definition at line 63 of file olfati_saber_flocking.cpp.
|
static |
Definition at line 61 of file olfati_saber_flocking.cpp.
double pm1 =1 |
Definition at line 36 of file olfati_saber_flocking.cpp.
double pm2 =3 |
Definition at line 36 of file olfati_saber_flocking.cpp.
double pm3 =1 |
Definition at line 36 of file olfati_saber_flocking.cpp.
double R_alpha = segma_norm(pair<double,double>(R,0)) |
Definition at line 81 of file olfati_saber_flocking.cpp.