GHS
Leader Election Based on GHS Minimum Spanning Tree
|
The main demo logic for executing le::ghs::GhsState across a network More...
#include <ghs-demo.h>
Public Member Functions | |
int | do_main (int argc, char **argv) |
A single entry point function that should be called from main() More... | |
The main demo logic for executing le::ghs::GhsState across a network
A configurable multi-agent/multi-process executable built on nng that uses le::ghs::GhsState
int demo::GhsDemoExec::do_main | ( | int | argc, |
char ** | argv | ||
) |
A single entry point function that should be called from main()
The main loop consists of:
If you want to replicate this, study this loop, and pay close attention to how little_iperf() does its work and especially sym_metric().