abc-master
|
#include "msatInt.h"
Go to the source code of this file.
Data Structures | |
struct | Msat_OrderVar_t_ |
struct | Msat_OrderRing_t_ |
struct | Msat_Order_t_ |
DECLARATIONS ///. More... | |
Macros | |
#define | Msat_OrderVarIsInBoundary(p, i) ((p)->pVars[i].pNext) |
#define | Msat_OrderVarIsAssigned(p, i) ((p)->pSat->pAssigns[i] != MSAT_VAR_UNASSIGNED) |
#define | Msat_OrderVarIsUsedInCone(p, i) ((p)->pSat->vVarsUsed->pArray[i]) |
#define | Msat_OrderRingForEachEntry(pRing, pVar, pNext) |
Typedefs | |
typedef typedefABC_NAMESPACE_IMPL_START struct Msat_OrderVar_t_ | Msat_OrderVar_t |
DECLARATIONS ///. More... | |
typedef struct Msat_OrderRing_t_ | Msat_OrderRing_t |
Functions | |
static void | Msat_OrderRingAddLast (Msat_OrderRing_t *pRing, Msat_OrderVar_t *pVar) |
static void | Msat_OrderRingRemove (Msat_OrderRing_t *pRing, Msat_OrderVar_t *pVar) |
Msat_Order_t * | Msat_OrderAlloc (Msat_Solver_t *pSat) |
FUNCTION DEFINITIONS ///. More... | |
void | Msat_OrderSetBounds (Msat_Order_t *p, int nVarsMax) |
void | Msat_OrderClean (Msat_Order_t *p, Msat_IntVec_t *vCone) |
int | Msat_OrderCheck (Msat_Order_t *p) |
void | Msat_OrderFree (Msat_Order_t *p) |
int | Msat_OrderVarSelect (Msat_Order_t *p) |
void | Msat_OrderVarAssigned (Msat_Order_t *p, int Var) |
void | Msat_OrderVarUnassigned (Msat_Order_t *p, int Var) |
void | Msat_OrderUpdate (Msat_Order_t *p, int Var) |
Variables | |
clock_t | timeSelect |
DECLARATIONS ///. More... | |
clock_t | timeAssign |
#define Msat_OrderRingForEachEntry | ( | pRing, | |
pVar, | |||
pNext | |||
) |
Definition at line 74 of file msatOrderJ.c.
#define Msat_OrderVarIsAssigned | ( | p, | |
i | |||
) | ((p)->pSat->pAssigns[i] != MSAT_VAR_UNASSIGNED) |
Definition at line 70 of file msatOrderJ.c.
Definition at line 69 of file msatOrderJ.c.
Definition at line 71 of file msatOrderJ.c.
typedef struct Msat_OrderRing_t_ Msat_OrderRing_t |
Definition at line 37 of file msatOrderJ.c.
typedef typedefABC_NAMESPACE_IMPL_START struct Msat_OrderVar_t_ Msat_OrderVar_t |
DECLARATIONS ///.
CFile****************************************************************
FileName [msatOrder.c]
PackageName [A C version of SAT solver MINISAT, originally developed in C++ by Niklas Een and Niklas Sorensson, Chalmers University of Technology, Sweden: http://www.cs.chalmers.se/~een/Satzoo.]
Synopsis [The manager of variable assignment.]
Author [Alan Mishchenko alanm] i@ee cs.be rkel ey.ed u
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - January 1, 2004.]
Revision [
]
Definition at line 36 of file msatOrderJ.c.
Msat_Order_t* Msat_OrderAlloc | ( | Msat_Solver_t * | pSat | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Allocates the ordering structure.]
Description []
SideEffects []
SeeAlso []
Definition at line 102 of file msatOrderJ.c.
int Msat_OrderCheck | ( | Msat_Order_t * | p | ) |
Function*************************************************************
Synopsis [Checks that the J-boundary is okay.]
Description []
SideEffects []
SeeAlso []
Definition at line 171 of file msatOrderJ.c.
void Msat_OrderClean | ( | Msat_Order_t * | p, |
Msat_IntVec_t * | vCone | ||
) |
Function*************************************************************
Synopsis [Cleans the ordering structure.]
Description []
SideEffects []
SeeAlso []
Definition at line 150 of file msatOrderJ.c.
void Msat_OrderFree | ( | Msat_Order_t * | p | ) |
Function*************************************************************
Synopsis [Frees the ordering structure.]
Description []
SideEffects []
SeeAlso []
Definition at line 245 of file msatOrderJ.c.
|
static |
Function*************************************************************
Synopsis [Adds node to the end of the ring.]
Description []
SideEffects []
SeeAlso []
Definition at line 406 of file msatOrderJ.c.
|
static |
Function*************************************************************
Synopsis [Removes the node from the ring.]
Description []
SideEffects []
SeeAlso []
Definition at line 442 of file msatOrderJ.c.
void Msat_OrderSetBounds | ( | Msat_Order_t * | p, |
int | nVarsMax | ||
) |
Function*************************************************************
Synopsis [Sets the bound of the ordering structure.]
Description [Should be called whenever the SAT solver is resized.]
SideEffects []
SeeAlso []
Definition at line 123 of file msatOrderJ.c.
void Msat_OrderUpdate | ( | Msat_Order_t * | p, |
int | Var | ||
) |
Function*************************************************************
Synopsis [Updates the order after a variable changed weight.]
Description []
SideEffects []
SeeAlso []
Definition at line 390 of file msatOrderJ.c.
void Msat_OrderVarAssigned | ( | Msat_Order_t * | p, |
int | Var | ||
) |
Function*************************************************************
Synopsis [Updates J-boundary when the variable is assigned.]
Description []
SideEffects []
SeeAlso []
Definition at line 305 of file msatOrderJ.c.
int Msat_OrderVarSelect | ( | Msat_Order_t * | p | ) |
Function*************************************************************
Synopsis [Selects the next variable to assign.]
Description []
SideEffects []
SeeAlso []
Definition at line 262 of file msatOrderJ.c.
void Msat_OrderVarUnassigned | ( | Msat_Order_t * | p, |
int | Var | ||
) |
Function*************************************************************
Synopsis [Updates the order after a variable is unassigned.]
Description []
SideEffects []
SeeAlso []
Definition at line 343 of file msatOrderJ.c.
clock_t timeAssign |
Definition at line 29 of file fraigMan.c.
clock_t timeSelect |
DECLARATIONS ///.
CFile****************************************************************
FileName [fraigMan.c]
PackageName [FRAIG: Functionally reduced AND-INV graphs.]
Synopsis [Implementation of the FRAIG manager.]
Author [Alan Mishchenko alanm] i@ee cs.be rkel ey.ed u
Affiliation [UC Berkeley]
Date [Ver. 2.0. Started - October 1, 2004]
Revision [
]
Definition at line 28 of file fraigMan.c.