GHS
Leader Election Based on GHS Minimum Spanning Tree
Public Member Functions | Public Attributes | List of all members
le::ghs::Edge Struct Reference

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.
 

Detailed Description

A struct to hold all the communication edge information.


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