
Public Member Functions | |
| double | compute_cost (int vertex) |
| virtual int | compute_next_vertex () |
| double | distanceFromOrigin (int vertex) |
| DTAGreedy_Agent () | |
| virtual void | init (int argc, char **argv) |
| virtual void | receive_results () |
| virtual void | send_results () |
| void | update_global_idleness () |
| double | utility (int vertex) |
Private Attributes | |
| ConfigFile | cf |
| double * | global_instantaneous_idleness |
| double | last_update_idl |
| pthread_mutex_t | lock |
| float | origin_theta |
| float | origin_x |
| float | origin_y |
| double | theta_cost |
| double | theta_idl |
| double | theta_odist |
Definition at line 55 of file DTAGreedy_Agent.cpp.
| DTAGreedy_Agent::DTAGreedy_Agent | ( | ) | [inline] |
Definition at line 65 of file DTAGreedy_Agent.cpp.
| double DTAGreedy_Agent::compute_cost | ( | int | vertex | ) |
Definition at line 111 of file DTAGreedy_Agent.cpp.
| int DTAGreedy_Agent::compute_next_vertex | ( | ) | [virtual] |
Implements PatrolAgent.
Definition at line 160 of file DTAGreedy_Agent.cpp.
| double DTAGreedy_Agent::distanceFromOrigin | ( | int | vertex | ) |
Definition at line 131 of file DTAGreedy_Agent.cpp.
| void DTAGreedy_Agent::init | ( | int | argc, |
| char ** | argv | ||
| ) | [virtual] |
Reimplemented from PatrolAgent.
Definition at line 82 of file DTAGreedy_Agent.cpp.
| void DTAGreedy_Agent::receive_results | ( | ) | [virtual] |
Reimplemented from PatrolAgent.
Definition at line 225 of file DTAGreedy_Agent.cpp.
| void DTAGreedy_Agent::send_results | ( | ) | [virtual] |
Reimplemented from PatrolAgent.
Definition at line 190 of file DTAGreedy_Agent.cpp.
Definition at line 146 of file DTAGreedy_Agent.cpp.
| double DTAGreedy_Agent::utility | ( | int | vertex | ) |
Definition at line 136 of file DTAGreedy_Agent.cpp.
ConfigFile DTAGreedy_Agent::cf [private] |
Definition at line 59 of file DTAGreedy_Agent.cpp.
double* DTAGreedy_Agent::global_instantaneous_idleness [private] |
Definition at line 57 of file DTAGreedy_Agent.cpp.
double DTAGreedy_Agent::last_update_idl [private] |
Definition at line 58 of file DTAGreedy_Agent.cpp.
pthread_mutex_t DTAGreedy_Agent::lock [private] |
Definition at line 62 of file DTAGreedy_Agent.cpp.
float DTAGreedy_Agent::origin_theta [private] |
Definition at line 61 of file DTAGreedy_Agent.cpp.
float DTAGreedy_Agent::origin_x [private] |
Definition at line 61 of file DTAGreedy_Agent.cpp.
float DTAGreedy_Agent::origin_y [private] |
Definition at line 61 of file DTAGreedy_Agent.cpp.
double DTAGreedy_Agent::theta_cost [private] |
Definition at line 60 of file DTAGreedy_Agent.cpp.
double DTAGreedy_Agent::theta_idl [private] |
Definition at line 60 of file DTAGreedy_Agent.cpp.
double DTAGreedy_Agent::theta_odist [private] |
Definition at line 60 of file DTAGreedy_Agent.cpp.