From: Arnaud Giersch Date: Fri, 25 Feb 2011 10:59:24 +0000 (+0100) Subject: Add forgotten files. X-Git-Tag: v0.1~101 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/2f365d3503318b9911fe71d29878ea49a753534d?hp=4ab86535e2afc105b5e8c5d580d9edc355cd4964 Add forgotten files. --- diff --git a/loba_besteffort.cpp b/loba_besteffort.cpp new file mode 100644 index 0000000..18e8c0c --- /dev/null +++ b/loba_besteffort.cpp @@ -0,0 +1,15 @@ +#include + +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 index 0000000..a69032c --- /dev/null +++ b/loba_besteffort.h @@ -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: