00001 // Test.h -- The Test decomposition algorithm interface. 00002 00003 /* 00004 * Copyright (C) 2004 Tudor Hulubei <tudor@hulubei.net>. 00005 * 00006 * This library is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU Lesser General Public License as 00008 * published by the Free Software Foundation; either version 2, or (at 00009 * your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA, 00019 * 02111-1307, USA. 00020 */ 00021 00022 // $Id: Test_8h-source.html,v 1.1 2005/05/25 12:37:18 tudor Exp $ 00023 00024 #ifndef _CSP_DECOMPOSITIONS_Test_H 00025 #define _CSP_DECOMPOSITIONS_Test_H 00026 00027 00028 CSP_NAMESPACE_BEGIN(csp); 00029 CSP_NAMESPACE_BEGIN(decompositions); 00030 00031 00037 class CSP_API Test : 00038 public Decomposition 00039 { 00040 public: 00049 Test( 00050 Problem& problem, 00051 Filter& filter, 00052 Retraction& retraction, 00053 Randomizer& randomizer) : 00054 Decomposition( 00055 L"Test", 00056 L"Test", 00057 problem, 00058 filter, 00059 retraction, 00060 randomizer) {} 00061 00062 private: 00064 Test(const Test&); 00065 00067 Test& operator=(const Test&); 00068 00070 virtual void decompose(); 00071 }; 00072 00073 00074 CSP_NAMESPACE_END(decompositions); 00075 CSP_NAMESPACE_END(csp); 00076 00077 00078 #endif // _CSP_DECOMPOSITIONS_Test_H 00079 00080 // Local Variables: 00081 // mode: C++ 00082 // End:
1.3.9.1