From 2f365d3503318b9911fe71d29878ea49a753534d Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Fri, 25 Feb 2011 11:59:24 +0100 Subject: [PATCH] Add forgotten files. --- loba_besteffort.cpp | 15 +++++++++++++++ loba_besteffort.h | 19 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 loba_besteffort.cpp create mode 100644 loba_besteffort.h 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: -- 2.39.5