#include <Starter.h>
Public Member Functions | |
Starter () | |
void | startClustering () |
void | stopClustering () |
Private Attributes | |
int | state |
Commander * | commander |
SIR * | sir |
Broadcaster * | broadcaster |
Static Private Attributes | |
const int | READY = 0 |
const int | RUNNING = 1 |
|
|
|
Starts the clustering. The threads that form the clustering algorithm are set to ready for execution
|
|
Stops the clustering. All threads that form the clustering algorithm are suspended. Program quits
|
|
The Starter starts and stops the Broadcaster thread |
|
The Starter starts and stops the Commander thread |
|
Used by the class to keep track of its own state |
|
Used by the class to keep track of its own state |
|
The Starter starts and stops the SIR thread |
|
Used by the class to keep track of its current state. Possible states are Starter::READY, Starter::RUNNING |