修复一些问题

This commit is contained in:
YuhangQ 2023-04-20 14:57:18 +08:00
parent d609ed196a
commit 72165e4b6f
2 changed files with 5 additions and 3 deletions

View File

@ -218,8 +218,10 @@ void sharer::do_clause_sharing() {
if(clause_imported[cls[i]->hash_code()]) {
std::swap(cls[i], cls[t_size-1]);
t_size--;
i--;
}
}
cls.resize(t_size);
//分享当前节点产生的子句

View File

@ -80,7 +80,7 @@ void light::diversity_workers() {
workers[i]->configure("stable", 1);
workers[i]->configure("target", 2);
workers[i]->configure("phase", 1);
workers[i]->configure("heuristic", 0);
// workers[i]->configure("heuristic", 0);
if (i == 2)
workers[i]->configure("stable", 0);
@ -103,11 +103,11 @@ void light::diversity_workers() {
// workers[i]->configure("walkinitially", 0);
workers[i]->configure("target", 1);
// workers[i]->configure("phase", 1);
workers[i]->configure("heuristic", 0);
// workers[i]->configure("heuristic", 0);
// workers[i]->configure("margin", 1)0;
if (i == 0 || i == 1 || i == 7 || i == 8 || i == 11 || i == 15)
workers[i]->configure("heuristic", 1);
// workers[i]->configure("heuristic", 1);
if (i == 3 || i == 6 || i == 8 || i == 11 || i == 12 || i == 13)
workers[i]->configure("chrono", 0);