Public Member Functions | Private Attributes
DTAGreedy_Agent Class Reference
Inheritance diagram for DTAGreedy_Agent:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 55 of file DTAGreedy_Agent.cpp.


Constructor & Destructor Documentation

Definition at line 65 of file DTAGreedy_Agent.cpp.


Member Function Documentation

double DTAGreedy_Agent::compute_cost ( int  vertex)

Definition at line 111 of file DTAGreedy_Agent.cpp.

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.

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.


Member Data Documentation

Definition at line 59 of file DTAGreedy_Agent.cpp.

Definition at line 57 of file DTAGreedy_Agent.cpp.

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.

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.


The documentation for this class was generated from the following file:


patrolling_sim
Author(s):
autogenerated on Mon Oct 2 2017 03:13:50