/*****************************************************************************
 * $Source: /expand6/cvsroot/charm/src/Common/ck-ldb/MetisLB.h,v $
 * $Author: olawlor $
 * $Date: 2000/05/18 03:37:50 $
 * $Revision: 1.5 $
 *****************************************************************************/

#ifndef _METISLB_H_
#define _METISLB_H_

#include "CentralLB.h"
#include "MetisLB.decl.h"

void CreateMetisLB();

class MetisLB : public CentralLB {
public:
  MetisLB();
  MetisLB(CkMigrateMessage *m) {}
private:
  CmiBool QueryBalanceNow(int step);
  CLBMigrateMsg* Strategy(CentralLB::LDStats* stats, int count);
};

#define WEIGHTED 1
#define MULTI_CONSTRAINT 2

#endif /* _METISLB_H_ */
