|
GHS
Leader Election Based on GHS Minimum Spanning Tree
|
A struct that holds the union of all configuration variables. More...
#include <ghs-demo-config.h>
Public Types | |
| enum | { LOAD =0, TEST, START } |
| A special command enumeration. More... | |
Public Attributes | |
| float | wait_s = 0 |
| The time to wait before starting the main algorithm. | |
| int | n_agents =N_UNSET |
| The number of agents currently loaded. | |
| char | endpoints [MAX_N][MAX_ENDPOINT_SZ] ={0} |
| The endpoint for each agent, as read from the config. | |
| int | test =0 |
| A bool to determine if we should do a test-and-die routine or not. | |
| int | my_id =ID_UNSET |
| This agent's id. | |
| enum demo::Config:: { ... } | command =LOAD |
| A special command enumeration. More... | |
| bool | retry_connections =false |
| If we fail to dial up an agent, should we retry later (true) or drop the message (false) | |
A struct that holds the union of all configuration variables.
| anonymous enum |
| enum { ... } demo::Config::command |
A special command enumeration.
The start mode
1.8.17