#include "internal.h"
#include "global.h"
Go to the source code of this file.
◆ kissat_compacting()
Definition at line 635 of file collect.c.
635 {
637 return false;
640 bool compact = (inactive > limit);
641 LOG (
"%u inactive variables %.0f%% <= limit %u %.0f%%", inactive,
642 kissat_percent (inactive,
solver->vars), limit,
643 kissat_percent (limit,
solver->vars));
644 return compact;
645}
◆ kissat_dense_collect()
| void kissat_dense_collect |
( |
kissat * | solver | ) |
|
Definition at line 730 of file collect.c.
730 {
734 INC (garbage_collections);
735 INC (dense_garbage_collections);
737 dense_sweep_garbage_clauses (
solver);
740}
#define KISSAT_assert(ignore)
◆ kissat_initial_sparse_collect()
| void kissat_initial_sparse_collect |
( |
kissat * | solver | ) |
|
Definition at line 647 of file collect.c.
647 {
652 if (
solver->statistics_.units) {
655 }
657}
void kissat_sparse_collect(kissat *solver, bool compact, reference start)
◆ kissat_sparse_collect()
Definition at line 610 of file collect.c.
610 {
613 INC (garbage_collections);
616 unsigned vars, mfixed;
617 if (compact)
619 else {
622 }
623 flush_all_watched_clauses (
solver, compact, start);
624 reference move = sparse_sweep_garbage_clauses (
solver, compact, start);
625 if (compact)
628 move_redundant_clauses_to_the_end (
solver, move);
629 rewatch_clauses (
solver, start);
633}
unsigned kissat_compact_literals(kissat *solver, unsigned *mfixed_ptr)
void kissat_finalize_compacting(kissat *solver, unsigned vars, unsigned mfixed)
ABC_NAMESPACE_HEADER_START typedef unsigned reference
#define kissat_check_statistics(...)
◆ kissat_update_first_reducible()
| void kissat_update_first_reducible |
( |
kissat * | solver, |
|
|
clause * | first_reducible ) |
Definition at line 185 of file collect.c.
185 {
191 if (ref >=
solver->first_reducible) {
192 LOG (
"no need to update larger first reducible");
193 return;
194 }
195 }
198}
◆ kissat_update_last_irredundant()
| void kissat_update_last_irredundant |
( |
kissat * | solver, |
|
|
clause * | last_irredundant ) |
Definition at line 200 of file collect.c.
200 {
206 if (ref <= solver->last_irredundant) {
207 LOG (
"no need to update smaller last irredundant");
208 return;
209 }
210 }
213}