#include <SolverTypes.h>
Definition at line 123 of file SolverTypes.h.
template<class V >
Minisat::Clause::Clause |
( |
const V & |
ps, |
|
|
bool |
use_extra, |
|
|
bool |
learnt |
|
) |
| |
|
inlineprivate |
Definition at line 136 of file SolverTypes.h.
139 header.has_extra = use_extra;
143 for (
int i = 0; i < ps.size(); i++)
union Minisat::Clause::@62 data[0]
struct Minisat::Clause::@61 header
uint32_t Minisat::Clause::abstraction |
( |
| ) |
const |
|
inline |
Definition at line 182 of file SolverTypes.h.
union Minisat::Clause::@62 data[0]
struct Minisat::Clause::@61 header
float& Minisat::Clause::activity |
( |
| ) |
|
|
inline |
Definition at line 181 of file SolverTypes.h.
union Minisat::Clause::@62 data[0]
struct Minisat::Clause::@61 header
void Minisat::Clause::calcAbstraction |
( |
| ) |
|
|
inline |
Definition at line 154 of file SolverTypes.h.
157 for (
int i = 0; i <
size(); i++)
union Minisat::Clause::@62 data[0]
uint32_t abstraction() const
struct Minisat::Clause::@61 header
bool Minisat::Clause::has_extra |
( |
| ) |
const |
|
inline |
Definition at line 166 of file SolverTypes.h.
166 {
return header.has_extra; }
struct Minisat::Clause::@61 header
const Lit& Minisat::Clause::last |
( |
| ) |
const |
|
inline |
Definition at line 169 of file SolverTypes.h.
union Minisat::Clause::@62 data[0]
struct Minisat::Clause::@61 header
bool Minisat::Clause::learnt |
( |
| ) |
const |
|
inline |
Definition at line 165 of file SolverTypes.h.
struct Minisat::Clause::@61 header
uint32_t Minisat::Clause::mark |
( |
| ) |
const |
|
inline |
Definition at line 167 of file SolverTypes.h.
struct Minisat::Clause::@61 header
void Minisat::Clause::mark |
( |
uint32_t |
m | ) |
|
|
inline |
Definition at line 168 of file SolverTypes.h.
struct Minisat::Clause::@61 header
Minisat::Clause::operator const Lit * |
( |
void |
| ) |
const |
|
inline |
Definition at line 179 of file SolverTypes.h.
179 {
return (Lit*)
data; }
union Minisat::Clause::@62 data[0]
Lit& Minisat::Clause::operator[] |
( |
int |
i | ) |
|
|
inline |
Definition at line 177 of file SolverTypes.h.
177 {
return data[i].lit; }
union Minisat::Clause::@62 data[0]
Lit Minisat::Clause::operator[] |
( |
int |
i | ) |
const |
|
inline |
Definition at line 178 of file SolverTypes.h.
178 {
return data[i].lit; }
union Minisat::Clause::@62 data[0]
void Minisat::Clause::pop |
( |
| ) |
|
|
inline |
void Minisat::Clause::relocate |
( |
CRef |
c | ) |
|
|
inline |
Definition at line 173 of file SolverTypes.h.
union Minisat::Clause::@62 data[0]
struct Minisat::Clause::@61 header
CRef Minisat::Clause::relocation |
( |
| ) |
const |
|
inline |
Definition at line 172 of file SolverTypes.h.
172 {
return data[0].rel; }
union Minisat::Clause::@62 data[0]
bool Minisat::Clause::reloced |
( |
| ) |
const |
|
inline |
Definition at line 171 of file SolverTypes.h.
171 {
return header.reloced; }
struct Minisat::Clause::@61 header
void Minisat::Clause::shrink |
( |
int |
i | ) |
|
|
inline |
Definition at line 163 of file SolverTypes.h.
union Minisat::Clause::@62 data[0]
struct Minisat::Clause::@61 header
int Minisat::Clause::size |
( |
| ) |
const |
|
inline |
Definition at line 162 of file SolverTypes.h.
struct Minisat::Clause::@61 header
void Minisat::Clause::strengthen |
( |
Lit |
p | ) |
|
|
inline |
Definition at line 367 of file SolverTypes.h.
373 if (other.header.size <
header.size || (
data[
header.size].abs & ~other.data[other.header.size].abs) != 0)
377 const Lit* c = (
const Lit*)(*
this);
378 const Lit* d = (
const Lit*)other;
380 for (
unsigned i = 0; i <
header.size; i++) {
382 for (
unsigned j = 0; j < other.header.size; j++)
385 else if (ret ==
lit_Undef && c[i] == ~d[j]){
union Minisat::Clause::@62 data[0]
struct Minisat::Clause::@61 header
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: