#include <SolverTypes.h>
Definition at line 140 of file SolverTypes.h.
Minisat::Clause::Clause |
( |
const vec< Lit > & |
ps, |
|
|
bool |
use_extra, |
|
|
bool |
learnt |
|
) |
| |
|
inlineprivate |
Definition at line 152 of file SolverTypes.h.
155 header.has_extra = use_extra;
159 for (
int i = 0; i < ps.
size(); i++)
struct Minisat::Clause::@5 header
union Minisat::Clause::@6 data[0]
Minisat::Clause::Clause |
( |
const Clause & |
from, |
|
|
bool |
use_extra |
|
) |
| |
|
inlineprivate |
Definition at line 171 of file SolverTypes.h.
173 header.has_extra = use_extra;
175 for (
int i = 0; i < from.size(); i++)
struct Minisat::Clause::@5 header
union Minisat::Clause::@6 data[0]
uint32_t Minisat::Clause::abstraction |
( |
| ) |
const |
|
inline |
Definition at line 215 of file SolverTypes.h.
struct Minisat::Clause::@5 header
union Minisat::Clause::@6 data[0]
float& Minisat::Clause::activity |
( |
| ) |
|
|
inline |
Definition at line 214 of file SolverTypes.h.
struct Minisat::Clause::@5 header
union Minisat::Clause::@6 data[0]
void Minisat::Clause::calcAbstraction |
( |
| ) |
|
|
inline |
Definition at line 187 of file SolverTypes.h.
190 for (
int i = 0; i <
size(); i++)
uint32_t abstraction() const
struct Minisat::Clause::@5 header
union Minisat::Clause::@6 data[0]
bool Minisat::Clause::has_extra |
( |
| ) |
const |
|
inline |
Definition at line 199 of file SolverTypes.h.
199 {
return header.has_extra; }
struct Minisat::Clause::@5 header
const Lit& Minisat::Clause::last |
( |
| ) |
const |
|
inline |
Definition at line 202 of file SolverTypes.h.
struct Minisat::Clause::@5 header
union Minisat::Clause::@6 data[0]
bool Minisat::Clause::learnt |
( |
| ) |
const |
|
inline |
uint32_t Minisat::Clause::mark |
( |
| ) |
const |
|
inline |
void Minisat::Clause::mark |
( |
uint32_t |
m | ) |
|
|
inline |
Minisat::Clause::operator const Lit * |
( |
void |
| ) |
const |
|
inline |
Definition at line 212 of file SolverTypes.h.
212 {
return (Lit*)
data; }
union Minisat::Clause::@6 data[0]
Lit& Minisat::Clause::operator[] |
( |
int |
i | ) |
|
|
inline |
Definition at line 210 of file SolverTypes.h.
210 {
return data[i].lit; }
union Minisat::Clause::@6 data[0]
Lit Minisat::Clause::operator[] |
( |
int |
i | ) |
const |
|
inline |
Definition at line 211 of file SolverTypes.h.
211 {
return data[i].lit; }
union Minisat::Clause::@6 data[0]
void Minisat::Clause::pop |
( |
| ) |
|
|
inline |
void Minisat::Clause::relocate |
( |
CRef |
c | ) |
|
|
inline |
Definition at line 206 of file SolverTypes.h.
struct Minisat::Clause::@5 header
union Minisat::Clause::@6 data[0]
CRef Minisat::Clause::relocation |
( |
| ) |
const |
|
inline |
Definition at line 205 of file SolverTypes.h.
205 {
return data[0].rel; }
union Minisat::Clause::@6 data[0]
bool Minisat::Clause::reloced |
( |
| ) |
const |
|
inline |
Definition at line 204 of file SolverTypes.h.
204 {
return header.reloced; }
struct Minisat::Clause::@5 header
void Minisat::Clause::shrink |
( |
int |
i | ) |
|
|
inline |
Definition at line 196 of file SolverTypes.h.
struct Minisat::Clause::@5 header
union Minisat::Clause::@6 data[0]
int Minisat::Clause::size |
( |
void |
| ) |
const |
|
inline |
void Minisat::Clause::strengthen |
( |
Lit |
p | ) |
|
|
inline |
Lit Minisat::Clause::subsumes |
( |
const Clause & |
other | ) |
const |
|
inline |
Definition at line 438 of file SolverTypes.h.
442 assert(!
header.learnt); assert(!other.header.learnt);
443 assert(
header.has_extra); assert(other.header.has_extra);
444 if (other.header.size <
header.size || (
data[
header.size].abs & ~other.data[other.header.size].abs) != 0)
448 const Lit* c = (
const Lit*)(*
this);
449 const Lit* d = (
const Lit*)other;
451 for (
unsigned i = 0; i <
header.size; i++) {
453 for (
unsigned j = 0; j < other.header.size; j++)
456 else if (ret ==
lit_Undef && c[i] == ~d[j]){
struct Minisat::Clause::@5 header
union Minisat::Clause::@6 data[0]
uint32_t Minisat::Clause::abs |
float Minisat::Clause::act |
union { ... } Minisat::Clause::data[0] |
unsigned Minisat::Clause::has_extra |
struct { ... } Minisat::Clause::header |
unsigned Minisat::Clause::learnt |
unsigned Minisat::Clause::mark |
CRef Minisat::Clause::rel |
unsigned Minisat::Clause::reloced |
unsigned Minisat::Clause::size |
The documentation for this class was generated from the following file: