Bug #1062: Fix linking errors by moving definition of userDrivenMode to machine-commo...
[charm.git] / src / ck-ldb / HybridLB.h
blob262075b9f7e708157edd8842f33e93befa19f042
1 /**
2 * \addtogroup CkLdb
3 */
4 /*@{*/
6 #ifndef HYBRIDLB_H
7 #define HYBRIDLB_H
9 #include "CentralLB.h"
10 #include "HybridBaseLB.h"
11 #include "HybridLB.decl.h"
13 #include "topology.h"
15 void CreateHybridLB();
17 class HybridLB : public CBase_HybridLB
19 public:
20 HybridLB(const CkLBOptions &);
21 HybridLB(CkMigrateMessage *m): CBase_HybridLB(m) {}
22 ~HybridLB();
24 protected:
25 CentralLB *greedy;
26 CentralLB *refine;
28 virtual bool QueryBalanceNow(int) { return true; };
29 virtual bool QueryMigrateStep(int) { return true; };
30 virtual void work(LDStats* stats);
34 #endif /* NBORBASELB_H */
36 /*@}*/