]> AND Private Git Repository - loba.git/blobdiff - options.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Add option "-s" for controlling the minimum duration between iterations.
[loba.git] / options.h
index 37a4d8c71159873f99b7c691cc8a5359ed768da4..de642a9b7b3a6c14c3cd437d5371ec3139cc0a59 100644 (file)
--- a/options.h
+++ b/options.h
@@ -3,9 +3,11 @@
 
 #include <string>
 #include "cost_func.h"
-#include "deployment.h"
 #include "named_object_list.h"
-#include "process.h"
+
+// These classes may use include options.h, so make forward declarations
+class deployment_generator;
+class process;
 
 // Global parameters, shared by all the processes
 namespace opt {
@@ -40,6 +42,9 @@ namespace opt {
     // Application parameters
     extern cost_func comp_cost;
     extern cost_func comm_cost;
+    extern double min_iter_duration;
+
+    // Parameters for the end of the simulation
     extern unsigned comp_maxiter;
     extern unsigned lb_maxiter;
     extern bool exit_on_close;