00001 /****************************************************************** 00002 * 00003 * Filename : BAPPartitioner.h 00004 * Author : David Ong Tat-Wee 00005 * 00006 * Version : 1.01b 00007 * Date : 29 May 98 00008 * 00009 * Description : Interface file for the abstract BAP Partitioning class 00010 * Be sure to inherit a non-abstract class from this class 00011 * and call it with the BAPSolver. 00012 * 00013 * Reference : nil 00014 * 00015 * Notes : This class should not be modified without proper 00016 * authorization. 00017 * 00018 * Changes : nil 00019 * 00020 * Copyright : Copyright (c) 1998 00021 * All rights reserved by 00022 * Resource Allocation and Scheduling Group 00023 * Department of Information Systems and Computer Science 00024 * National University of Singapore 00025 * 00026 ******************************************************************/ 00027 00028 00029 #ifndef __BAP_PARTITIONER__ 00030 #define __BAP_PARTITIONER__ 00031 00032 #include "def.h" 00033 #include "BAPPackage.h" 00034 00035 00036 class BAPPartitioner : public BAPBase 00037 { 00038 public: 00039 BAPPartitioner(BAPPackage& aPackage); 00040 ~BAPPartitioner(); 00041 00042 void Print(int aWidth = 1, int aDetail = 0) const; 00043 00044 virtual void Solve() = 0; // Abstract member function 00045 00046 protected: 00047 BAPPackage& mPackage; 00048 }; 00049 00050 #endif 00051