OKlibrary  0.2.1.6
Learning.mac
Go to the documentation of this file.
00001 /* Oliver Kullmann, 8.6.2008 (Swansea) */
00002 /* Copyright 2008 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 
00022 oklib_include("OKlib/ComputerAlgebra/TestSystem/Lisp/Asserts.mac")$
00023 oklib_include("OKlib/ComputerAlgebra/Satisfiability/Lisp/Backtracking/tests/DLL_solvers.mac")$
00024 oklib_include("OKlib/ComputerAlgebra/Satisfiability/Lisp/Backtracking/DLL_solvers.mac")$
00025 
00026 kill(f)$
00027 
00028 
00029 okltest_basic_learning(f) := block(
00030   okltest_SATsolver(f(generalised_ucp1,dll_heuristics_first_formal)),
00031   if oklib_test_level = 0 then return(true),
00032   okltest_SATsolver(f(generalised_ucp2,johnson_heuristic)),
00033   true)$
00034 
00035