|
GHS
Leader Election Based on GHS Minimum Spanning Tree
|
Go to the documentation of this file.
173 agent_t to()
const {
return to_;}
174 agent_t from()
const {
return from_;}
int agent_t
problems for GhsState
Definition: agent.h:51
@ SRCH
data is a SrchPayload
Definition: msg.h:62
@ NACK_PART
data is a NackPartPayload
Definition: msg.h:66
@ NOOP
data is a NoopPayload
Definition: msg.h:61
No further action necessary (i.e., we have completed the MST construction)
Definition: msg.h:71
unsigned long metric_t
Definition: edge.h:63
Type
Stores what type of Msg this is.
Definition: msg.h:58
An aggregate type containing all the data to exchange with to/from information.
Definition: msg.h:143
Returns an edge that represents the minimum weight outgoing edge.
Definition: msg.h:85
const unsigned int MAX_MSG_SZ
Definition: msg.h:195
defintion for le::ghs::level_t
@ ACK_PART
data is a AckPartPayload
Definition: msg.h:65
Requests a search begin in the MST subtree rooted at the receiver, for the minimum weight outgoing ed...
Definition: msg.h:75
Edge structure definition and functions.
Msgs to merge /absorb two partitions across a given edge.
Definition: msg.h:109
@ JOIN_US
data is a JoinUsPayload
Definition: msg.h:67
States "I am in your partition".
Definition: msg.h:98
provides le::ghs::agent_t defintion
Asks "Are you in my partition".
Definition: msg.h:92
States "I am not in your partition".
Definition: msg.h:102
@ UNASSIGNED
Error checking for unassigned messages.
Definition: msg.h:60
int level_t
A "level" which is an internal item for GhsState to track how many times the MST has merged with anot...
Definition: level.h:49
@ IN_PART
data is a InPartPayload
Definition: msg.h:64
@ SRCH_RET
data is a SrchRetPayload
Definition: msg.h:63