00001 /*****************************************************************************/ 00002 /*! 00003 *\file cnf_theorem_producer.h 00004 *\brief Implementation of CNF_Rules API 00005 * 00006 * Author: Clark Barrett 00007 * 00008 * Created: Thu Jan 5 05:33:42 2006 00009 * 00010 * <hr> 00011 * Copyright (C) 2006 by the Board of Trustees of Leland Stanford 00012 * Junior University and by New York University. 00013 * 00014 * License to use, copy, modify, sell and/or distribute this software 00015 * and its documentation for any purpose is hereby granted without 00016 * royalty, subject to the terms and conditions defined in the \ref 00017 * LICENSE file provided with this distribution. In particular: 00018 * 00019 * - The above copyright notice and this permission notice must appear 00020 * in all copies of the software and related documentation. 00021 * 00022 * - THE SOFTWARE IS PROVIDED "AS-IS", WITHOUT ANY WARRANTIES, 00023 * EXPRESSED OR IMPLIED. USE IT AT YOUR OWN RISK. 00024 * 00025 * <hr> 00026 * 00027 */ 00028 /*****************************************************************************/ 00029 00030 #ifndef _cvcl__sat__cnf_theorem_producer_h_ 00031 #define _cvcl__sat__cnf_theorem_producer_h_ 00032 00033 #include "theorem_producer.h" 00034 #include "cnf_rules.h" 00035 00036 namespace CVCL { 00037 00038 class CNF_TheoremProducer 00039 : public CNF_Rules, 00040 public TheoremProducer { 00041 00042 public: 00043 CNF_TheoremProducer(TheoremManager* tm): TheoremProducer(tm) { } 00044 ~CNF_TheoremProducer() { } 00045 00046 Theorem learnedClause(const Theorem& thm); 00047 Theorem ifLiftRule(const Expr& e, int itePos); 00048 00049 }; // end of class CNF_TheoremProducer 00050 } // end of namespace CVCL 00051 #endif