OKlibrary  0.2.1.6
DLL_Algorithms.hpp
Go to the documentation of this file.
00001 // Oliver Kullmann, 5.3.2002 (Swansea)
00002 /* Copyright 2002 - 2007, 2009 Oliver Kullmann
00003 This file is part of the OKlibrary. OKlibrary is free software; you can redistribute
00004 it and/or modify it under the terms of the GNU General Public License as published by
00005 the Free Software Foundation and included in this library; either version 3 of the
00006 License, or any later version. */
00007 
00014 #ifndef WAECHTERDLLALGORITHMS_76TTr4
00015 #define WAECHTERDLLALGORITHMS_76TTr4
00016 
00017 #include <string>
00018 
00019 #include <OKlib/Satisfiability/ProblemInstances/ClauseSets/ClauseSet.hpp>
00020 #include <OKlib/Satisfiability/Assignments/PartialAssignments/PartAssign.hpp>
00021 
00022 namespace DLL_Algorithms {
00023 
00024   struct Result {
00025     bool sat;
00026     PartAssignments::Pass phi;
00027     std::string info;
00028     Result(bool s, const PartAssignments::Pass& p = PartAssignments::Pass(), std::string i = "") {sat = s; phi = p; info = i;}
00029   };
00030 
00031   typedef Result SAT_Algorithms(const Clausesets::Cls&);
00032 
00033   SAT_Algorithms DLL_1;
00034 
00035 }
00036 
00037 #endif