plain.icc
Go to the documentation of this file.00001 /* 00002 * Main authors: 00003 * Christian Schulte <schulte@gecode.org> 00004 * 00005 * Copyright: 00006 * Christian Schulte, 2003 00007 * 00008 * Last modified: 00009 * $Date: 2005-08-10 20:28:01 +0200 (Wed, 10 Aug 2005) $ by $Author: schulte $ 00010 * $Revision: 2202 $ 00011 * 00012 * This file is part of Gecode, the generic constraint 00013 * development environment: 00014 * http://www.gecode.org 00015 * 00016 * See the file "LICENSE" for information on usage and 00017 * redistribution of this file, and for a 00018 * DISCLAIMER OF ALL WARRANTIES. 00019 * 00020 */ 00021 00022 namespace Gecode { namespace Search { 00023 00024 forceinline 00025 PlainEngine::PlainEngine(size_t sz) 00026 : FullStatistics(sz) {} 00027 00028 forceinline void 00029 PlainEngine::operator delete(void* p, size_t) { 00030 Memory::free(p); 00031 } 00032 00033 forceinline void* 00034 PlainEngine::operator new(size_t s) { 00035 return Memory::malloc(s); 00036 } 00037 00038 forceinline 00039 PlainEngine::~PlainEngine(void) { 00040 } 00041 00042 }} 00043 00044 // STATISTICS: search-any