|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| NoLearningNoHeuristics.java | - | - | 0% | 0% |
|
||||||||||||||
| 1 | /* | |
| 2 | * SAT4J: a SATisfiability library for Java | |
| 3 | * Copyright (C) 2004 Daniel Le Berre | |
| 4 | * | |
| 5 | * Based on the original minisat specification from: | |
| 6 | * | |
| 7 | * An extensible SAT solver. Niklas E???n and Niklas S???rensson. | |
| 8 | * Proceedings of the Sixth International Conference on Theory | |
| 9 | * and Applications of Satisfiability Testing, LNCS 2919, | |
| 10 | * pp 502-518, 2003. | |
| 11 | * | |
| 12 | * This library is free software; you can redistribute it and/or | |
| 13 | * modify it under the terms of the GNU Lesser General Public | |
| 14 | * License as published by the Free Software Foundation; either | |
| 15 | * version 2.1 of the License, or (at your option) any later version. | |
| 16 | * | |
| 17 | * This library is distributed in the hope that it will be useful, | |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 20 | * Lesser General Public License for more details. | |
| 21 | * | |
| 22 | * You should have received a copy of the GNU Lesser General Public | |
| 23 | * License along with this library; if not, write to the Free Software | |
| 24 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 25 | * | |
| 26 | */ | |
| 27 | ||
| 28 | package org.sat4j.minisat.learning; | |
| 29 | ||
| 30 | import java.io.Serializable; | |
| 31 | ||
| 32 | import org.sat4j.minisat.core.Constr; | |
| 33 | ||
| 34 | /** | |
| 35 | * Allows MiniSAT to do backjumping without learning. The literals appearing in | |
| 36 | * the reason do not see their activity increased. That solution looks the best | |
| 37 | * for VLIW-SAT-1.0 benchmarks (1346s vs 1785s). | |
| 38 | * | |
| 39 | * @author leberre | |
| 40 | */ | |
| 41 | public class NoLearningNoHeuristics extends AbstractLearning implements Serializable { | |
| 42 | ||
| 43 | private static final long serialVersionUID = 1L; | |
| 44 | ||
| 45 | 0 | public void init() { |
| 46 | ||
| 47 | } | |
| 48 | ||
| 49 | /* | |
| 50 | * (non-Javadoc) | |
| 51 | * | |
| 52 | * @see org.sat4j.minisat.LearningScheme#learns(org.sat4j.minisat.Solver, | |
| 53 | * org.sat4j.minisat.datatype.Vec) | |
| 54 | */ | |
| 55 | 0 | public void learns(Constr reason) { |
| 56 | } | |
| 57 | ||
| 58 | } |
|
||||||||||