2020年10月12日

struct VarOrderLt

摘要: 1 struct VarOrderLt { 2 const vec<double>& activity; 3 bool operator () (Var x, Var y) const { return activity[x] > activity[y]; } 4 VarOrderLt(const 阅读全文

posted @ 2020-10-12 18:39 QzZq 阅读(89) 评论(0) 推荐(0)

struct VarData

摘要: 1 struct VarData { CRef reason; int level; }; 在解析cnf时,S.nVars()使用 1 template<class B, class Solver> 2 static void readClause(B& in, Solver& S, vec<Lit 阅读全文

posted @ 2020-10-12 16:16 QzZq 阅读(151) 评论(0) 推荐(0)

class OccLists

摘要: 1 // 2 // OccLists -- a class for maintaining occurence lists with lazy deletion: 3 // 用于通过延迟删除来维护出现列表的类 4 template<class Idx, class Vec, class Delete 阅读全文

posted @ 2020-10-12 14:23 QzZq 阅读(120) 评论(0) 推荐(1)

Centos7 安装 Emacs

摘要: 精简的小攻略,笔者已经使用该方法安装多次。 1、进入root su root 2、安装包 wget wget http://ftp.gnu.org/gnu/emacs/emacs-26.1.tar.gz 3、解压 tar -xzvf emacs* && cd emacs* 4、安装依赖 yum in 阅读全文

posted @ 2020-10-12 13:34 QzZq 阅读(722) 评论(0) 推荐(0)

propagate流程图

摘要: 问题一: 为什么在此处判定为冲突,返回冲突子句 回答一:在之前赋值阶段,已经假设改文字值为l-true,故文字反向为l-false。 watchesBin或者watches存的是文字的反向所在的子句中的文字。故判断其他文字值,都为l-false,则冲突。 阅读全文

posted @ 2020-10-12 11:47 QzZq 阅读(162) 评论(0) 推荐(1)

导航