Package kodkod.engine.fol2sat

Examples of kodkod.engine.fol2sat.TranslationLog


   * @param stats translation / solving stats
   * @return the result of solving an unsat formula.
   */
  private static Solution unsat(Translation translation, Statistics stats) {
    final SATSolver cnf = translation.cnf();
    final TranslationLog log = translation.log();
    if (cnf instanceof SATProver && log != null) {
      return Solution.unsatisfiable(stats, new ResolutionBasedProof((SATProver) cnf, log));
    } else { // can free memory
      final Solution sol = Solution.unsatisfiable(stats, null);
      cnf.free();
View Full Code Here

TOP

Related Classes of kodkod.engine.fol2sat.TranslationLog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.