#include "msatInt.h"
Go to the source code of this file.
Data Structures | |
struct | Msat_Queue_t_ |
Functions | |
Msat_Queue_t * | Msat_QueueAlloc (int nVars) |
void | Msat_QueueFree (Msat_Queue_t *p) |
int | Msat_QueueReadSize (Msat_Queue_t *p) |
void | Msat_QueueInsert (Msat_Queue_t *p, int Lit) |
int | Msat_QueueExtract (Msat_Queue_t *p) |
void | Msat_QueueClear (Msat_Queue_t *p) |
Msat_Queue_t* Msat_QueueAlloc | ( | int | nVars | ) |
FUNCTION DEFINITIONS ///Function*************************************************************
Synopsis [Allocates the variable propagation queue.]
Description []
SideEffects []
SeeAlso []
Definition at line 50 of file msatQueue.c.
00051 { 00052 Msat_Queue_t * p; 00053 p = ALLOC( Msat_Queue_t, 1 ); 00054 memset( p, 0, sizeof(Msat_Queue_t) ); 00055 p->nVars = nVars; 00056 p->pVars = ALLOC( int, nVars ); 00057 return p; 00058 }
void Msat_QueueClear | ( | Msat_Queue_t * | p | ) |
Function*************************************************************
Synopsis [Resets the queue.]
Description []
SideEffects []
SeeAlso []
Definition at line 146 of file msatQueue.c.
int Msat_QueueExtract | ( | Msat_Queue_t * | p | ) |
Function*************************************************************
Synopsis [Extracts an entry from the queue.]
Description []
SideEffects []
SeeAlso []
Definition at line 128 of file msatQueue.c.
void Msat_QueueFree | ( | Msat_Queue_t * | p | ) |
Function*************************************************************
Synopsis [Deallocate the variable propagation queue.]
Description []
SideEffects []
SeeAlso []
Definition at line 71 of file msatQueue.c.
void Msat_QueueInsert | ( | Msat_Queue_t * | p, | |
int | Lit | |||
) |
Function*************************************************************
Synopsis [Insert an entry into the queue.]
Description []
SideEffects []
SeeAlso []
Definition at line 104 of file msatQueue.c.
int Msat_QueueReadSize | ( | Msat_Queue_t * | p | ) |
Function*************************************************************
Synopsis [Reads the queue size.]
Description []
SideEffects []
SeeAlso []
Definition at line 88 of file msatQueue.c.