GHS
Leader Election Based on GHS Minimum Spanning Tree
agent.h
Go to the documentation of this file.
1 
40 #ifndef GHS_AGENT
41 #define GHS_AGENT
42 
43 namespace le{
44  namespace ghs{
45 
49  //not generate
51  typedef int agent_t;
52 
56  const agent_t NO_AGENT=-1;
57 
64  bool is_valid(const agent_t a);
65 
66  }
67 }
68 #endif
le::ghs::agent_t
int agent_t
problems for GhsState
Definition: agent.h:51
le
Definition: agent.h:43
le::ghs::is_valid
bool is_valid(const agent_t a)
Definition: agent.cpp:43
le::ghs::NO_AGENT
const agent_t NO_AGENT
Definition: agent.h:56