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

List of all members.

Public Member Functions

virtual int compute_next_vertex ()
virtual void init (int argc, char **argv)
virtual void processEvents ()
virtual void receive_results ()
virtual void send_results ()

Private Attributes

bool arrived
double edge_min
double G1
double G2
int NUMBER_OF_ROBOTS
int robot_arrived
uint vertex_arrived

Detailed Description

Definition at line 53 of file GBS_Agent.cpp.


Member Function Documentation

int GBS_Agent::compute_next_vertex ( ) [virtual]

Implements PatrolAgent.

Definition at line 141 of file GBS_Agent.cpp.

void GBS_Agent::init ( int  argc,
char **  argv 
) [virtual]

Define G1 and G2

Reimplemented from PatrolAgent.

Definition at line 74 of file GBS_Agent.cpp.

void GBS_Agent::processEvents ( ) [virtual]

Reimplemented from PatrolAgent.

Definition at line 118 of file GBS_Agent.cpp.

void GBS_Agent::receive_results ( ) [virtual]

Reimplemented from PatrolAgent.

Definition at line 158 of file GBS_Agent.cpp.

void GBS_Agent::send_results ( ) [virtual]

Reimplemented from PatrolAgent.

Definition at line 146 of file GBS_Agent.cpp.


Member Data Documentation

bool GBS_Agent::arrived [private]

Definition at line 60 of file GBS_Agent.cpp.

double GBS_Agent::edge_min [private]

Definition at line 58 of file GBS_Agent.cpp.

double GBS_Agent::G1 [private]

Definition at line 57 of file GBS_Agent.cpp.

double GBS_Agent::G2 [private]

Definition at line 57 of file GBS_Agent.cpp.

Definition at line 59 of file GBS_Agent.cpp.

int GBS_Agent::robot_arrived [private]

Definition at line 62 of file GBS_Agent.cpp.

Definition at line 61 of file GBS_Agent.cpp.


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


patrolling_sim
Author(s):
autogenerated on Thu Jun 6 2019 20:27:09