|
GHS
Leader Election Based on GHS Minimum Spanning Tree
|
A struct to hold all the communication edge information. More...
#include <edge.h>
Public Member Functions | |
| Edge (agent_t pe, agent_t ro, status_t st, metric_t me) | |
Public Attributes | |
| agent_t | peer =NO_AGENT |
| The peer is the "to" side of the edge. | |
| agent_t | root =NO_AGENT |
| The root is the "from" side of the edge. | |
| status_t | status =UNKNOWN |
| The status of this edge, starting with UNKNOWN. | |
| metric_t | metric_val =WORST_METRIC |
| By default, this edge has metric_val = WORST_METRIC. | |
A struct to hold all the communication edge information.
1.8.17