GHS
Leader Election Based on GHS Minimum Spanning Tree
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
le::LocalGraph< SZ > Class Template Reference

Classes

struct  LocalEdge
 

Public Types

enum  Errno { OK =0, DOES_NOT_EXIST, ALREADY_EXISTS }
 

Public Member Functions

unsigned int size ()
 
unsigned int max_size ()
 
Errno set (const unsigned int to, const unsigned int status, const unsigned int weight)
 
Errno get (unsigned int &to, unsigned int &status, unsigned int &weight) const
 
Errno set (unsigned int to, const LocalEdge e)
 
Errno get (unsigned int to, LocalEdge &out_e) const
 
Errno set_weight (const unsigned int to, const unsigned int wt)
 
Errno set_status (const unsigned int to, const unsigned int status)
 
Errno get_weight (const unsigned int to, unsigned int &out_wt) const
 
Errno get_status (const unsigned int to, unsigned int &out_status) const
 

Static Public Member Functions

static const char * strerror (const Errno e)
 

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