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

Private GIT Repository
Add forgotten files.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 25 Feb 2011 10:59:24 +0000 (11:59 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 25 Feb 2011 10:59:24 +0000 (11:59 +0100)
loba_besteffort.cpp [new file with mode: 0644]
loba_besteffort.h [new file with mode: 0644]

diff --git a/loba_besteffort.cpp b/loba_besteffort.cpp
new file mode 100644 (file)
index 0000000..18e8c0c
--- /dev/null
@@ -0,0 +1,15 @@
+#include <xbt/log.h>
+
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(loba);
+
+#include "loba_besteffort.h"
+
+void loba_besteffort::load_balance()
+{
+    // write code here...
+    xbt_die("Load-balancing algorithm besteffort not implemented!");
+}
+
+// Local variables:
+// mode: c++
+// End:
diff --git a/loba_besteffort.h b/loba_besteffort.h
new file mode 100644 (file)
index 0000000..a69032c
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef LOBA_BESTEFFORT_H
+#define LOBA_BESTEFFORT_H
+
+#include "process.h"
+
+class loba_besteffort: public process {
+public:
+    loba_besteffort(int argc, char* argv[]): process(argc, argv) { }
+    ~loba_besteffort()                                           { }
+
+private:
+    void load_balance();
+};
+
+#endif //!LOBA_BESTEFFORT_H
+
+// Local variables:
+// mode: c++
+// End: