#include <SolverTypes.h>
Definition at line 196 of file SolverTypes.h.
◆ ClauseAllocator() [1/2]
| Minisat::ClauseAllocator::ClauseAllocator |
( |
uint32_t | start_cap | ) |
|
|
inline |
Definition at line 203 of file SolverTypes.h.
RegionAllocator(uint32_t start_cap=1024 *1024)
◆ ClauseAllocator() [2/2]
| Minisat::ClauseAllocator::ClauseAllocator |
( |
| ) |
|
|
inline |
◆ _free()
| void Minisat::ClauseAllocator::_free |
( |
CRef | cid | ) |
|
|
inline |
Definition at line 230 of file SolverTypes.h.
231 {
234 }
Clause & operator[](Ref r)
◆ ael()
◆ alloc()
Definition at line 211 of file SolverTypes.h.
212 {
216
218 new (
lea(cid)) Clause(ps, use_extra, learnt);
219
220 return cid;
221 }
RegionAllocator< uint32_t >::Ref CRef
◆ lea() [1/2]
| Clause * Minisat::ClauseAllocator::lea |
( |
Ref | r | ) |
|
|
inline |
◆ lea() [2/2]
◆ moveTo()
Definition at line 206 of file SolverTypes.h.
206 {
void moveTo(RegionAllocator &to)
◆ operator[]() [1/2]
| Clause & Minisat::ClauseAllocator::operator[] |
( |
Ref | r | ) |
|
|
inline |
◆ operator[]() [2/2]
◆ reloc()
Definition at line 236 of file SolverTypes.h.
237 {
239
240 if (c.reloced()) { cr = c.relocation(); return; }
241
242 cr = to.alloc(c, c.learnt());
243 c.relocate(cr);
244
245
246
247 to[cr].mark(c.mark());
248 if (to[cr].learnt()) to[cr].activity() = c.activity();
249 else if (to[cr].has_extra()) to[cr].calcAbstraction();
250 }
◆ extra_clause_field
| bool Minisat::ClauseAllocator::extra_clause_field |
The documentation for this class was generated from the following file: