abc-master
|
#include "misc/util/abc_global.h"
Go to the source code of this file.
Data Structures | |
struct | clause_t |
struct | Sat_Mem_t_ |
Macros | |
#define | LEARNT_MAX_START_DEFAULT 10000 |
INCLUDES ///. More... | |
#define | LEARNT_MAX_INCRE_DEFAULT 1000 |
#define | LEARNT_MAX_RATIO_DEFAULT 50 |
#define | Sat_MemForEachClause(p, c, i, k) |
#define | Sat_MemForEachClause2(p, c, i, k) |
#define | Sat_MemForEachLearned(p, c, i, k) |
Typedefs | |
typedef struct clause_t | clause |
STRUCTURE DEFINITIONS ///. More... | |
typedef struct Sat_Mem_t_ | Sat_Mem_t |
Functions | |
static int | Sat_MemLimit (int *p) |
static int | Sat_MemIncLimit (int *p, int nInts) |
static void | Sat_MemWriteLimit (int *p, int nInts) |
static int | Sat_MemHandPage (Sat_Mem_t *p, cla h) |
static int | Sat_MemHandShift (Sat_Mem_t *p, cla h) |
static int | Sat_MemIntSize (int size, int lrn) |
static int | Sat_MemClauseSize (clause *p) |
static int | Sat_MemClauseSize2 (clause *p) |
static clause * | Sat_MemClause (Sat_Mem_t *p, int i, int k) |
static clause * | Sat_MemClauseHand (Sat_Mem_t *p, cla h) |
static int | Sat_MemEntryNum (Sat_Mem_t *p, int lrn) |
static cla | Sat_MemHand (Sat_Mem_t *p, int i, int k) |
static cla | Sat_MemHandCurrent (Sat_Mem_t *p, int lrn) |
static int | Sat_MemClauseUsed (Sat_Mem_t *p, cla h) |
static double | Sat_MemMemoryHand (Sat_Mem_t *p, cla h) |
static double | Sat_MemMemoryUsed (Sat_Mem_t *p, int lrn) |
static double | Sat_MemMemoryAllUsed (Sat_Mem_t *p) |
static double | Sat_MemMemoryAll (Sat_Mem_t *p) |
static int | clause_from_lit (lit l) |
GLOBAL VARIABLES ///. More... | |
static int | clause_is_lit (cla h) |
static lit | clause_read_lit (cla h) |
static int | clause_learnt_h (Sat_Mem_t *p, cla h) |
static int | clause_learnt (clause *c) |
static int | clause_id (clause *c) |
static void | clause_set_id (clause *c, int id) |
static int | clause_size (clause *c) |
static lit * | clause_begin (clause *c) |
static lit * | clause_end (clause *c) |
static void | clause_print (clause *c) |
static int | Sat_MemCountL (Sat_Mem_t *p) |
FUNCTION DECLARATIONS ///. More... | |
static void | Sat_MemAlloc_ (Sat_Mem_t *p, int nPageSize) |
static Sat_Mem_t * | Sat_MemAlloc (int nPageSize) |
static void | Sat_MemRestart (Sat_Mem_t *p) |
static void | Sat_MemBookMark (Sat_Mem_t *p) |
static void | Sat_MemRollBack (Sat_Mem_t *p) |
static void | Sat_MemFree_ (Sat_Mem_t *p) |
static void | Sat_MemFree (Sat_Mem_t *p) |
static int | Sat_MemAppend (Sat_Mem_t *p, int *pArray, int nSize, int lrn, int fPlus1) |
static void | Sat_MemShrink (Sat_Mem_t *p, int h, int lrn) |
static int | Sat_MemCompactLearned (Sat_Mem_t *p, int fDoMove) |
#define LEARNT_MAX_INCRE_DEFAULT 1000 |
Definition at line 38 of file satClause.h.
#define LEARNT_MAX_RATIO_DEFAULT 50 |
Definition at line 39 of file satClause.h.
#define LEARNT_MAX_START_DEFAULT 10000 |
INCLUDES ///.
CFile****************************************************************
FileName [satMem.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [SAT solver.]
Synopsis [Memory management.]
Author [Alan Mishchenko alanm] i@ee cs.be rkel ey.ed u
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - January 1, 2004.]
Revision [
]PARAMETERS ///
Definition at line 37 of file satClause.h.
#define Sat_MemForEachClause | ( | p, | |
c, | |||
i, | |||
k | |||
) |
Definition at line 117 of file satClause.h.
#define Sat_MemForEachClause2 | ( | p, | |
c, | |||
i, | |||
k | |||
) |
Definition at line 122 of file satClause.h.
#define Sat_MemForEachLearned | ( | p, | |
c, | |||
i, | |||
k | |||
) |
Definition at line 126 of file satClause.h.
STRUCTURE DEFINITIONS ///.
Definition at line 48 of file satClause.h.
typedef struct Sat_Mem_t_ Sat_Mem_t |
Definition at line 70 of file satClause.h.
Definition at line 147 of file satClause.h.
Definition at line 148 of file satClause.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 144 of file satClause.h.
|
inlinestatic |
Definition at line 139 of file satClause.h.
|
inlinestatic |
Definition at line 143 of file satClause.h.
Definition at line 142 of file satClause.h.
|
inlinestatic |
Definition at line 149 of file satClause.h.
Definition at line 140 of file satClause.h.
|
inlinestatic |
Definition at line 145 of file satClause.h.
|
inlinestatic |
Definition at line 146 of file satClause.h.
|
inlinestatic |
Definition at line 209 of file satClause.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Allocating vector.]
Description []
SideEffects []
SeeAlso []
Definition at line 193 of file satClause.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Creates new clause.]
Description [The resulting clause is fully initialized.]
SideEffects []
SeeAlso []
Definition at line 301 of file satClause.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Sets the bookmark.]
Description []
SideEffects []
SeeAlso []
Definition at line 249 of file satClause.h.
Definition at line 96 of file satClause.h.
Definition at line 98 of file satClause.h.
|
inlinestatic |
Definition at line 92 of file satClause.h.
|
inlinestatic |
Definition at line 93 of file satClause.h.
Definition at line 104 of file satClause.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Compacts learned clauses by removing marked entries.]
Description [Returns the number of remaining entries.]
SideEffects []
SeeAlso []
Definition at line 366 of file satClause.h.
|
inlinestatic |
FUNCTION DECLARATIONS ///.
Function*************************************************************
Synopsis [Allocating vector.]
Description []
SideEffects []
SeeAlso []
Definition at line 173 of file satClause.h.
|
inlinestatic |
Definition at line 99 of file satClause.h.
|
inlinestatic |
Definition at line 284 of file satClause.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Freeing vector.]
Description []
SideEffects []
SeeAlso []
Definition at line 277 of file satClause.h.
Definition at line 101 of file satClause.h.
Definition at line 102 of file satClause.h.
Definition at line 88 of file satClause.h.
Definition at line 89 of file satClause.h.
|
inlinestatic |
Definition at line 85 of file satClause.h.
|
inlinestatic |
Definition at line 91 of file satClause.h.
|
inlinestatic |
Definition at line 84 of file satClause.h.
|
inlinestatic |
Definition at line 109 of file satClause.h.
|
inlinestatic |
Definition at line 108 of file satClause.h.
Definition at line 106 of file satClause.h.
|
inlinestatic |
Definition at line 107 of file satClause.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Resetting vector.]
Description []
SideEffects []
SeeAlso []
Definition at line 228 of file satClause.h.
|
inlinestatic |
Definition at line 256 of file satClause.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Shrinking vector size.]
Description []
SideEffects [This procedure does not update the number of entries.]
SeeAlso []
Definition at line 346 of file satClause.h.
|
inlinestatic |
Definition at line 86 of file satClause.h.