abc-master
|
#include "extra.h"
Go to the source code of this file.
Data Structures | |
struct | Extra_BitMat_t_ |
Functions | |
Extra_BitMat_t * | Extra_BitMatrixStart (int nSize) |
void | Extra_BitMatrixClean (Extra_BitMat_t *p) |
void | Extra_BitMatrixStop (Extra_BitMat_t *p) |
void | Extra_BitMatrixPrint (Extra_BitMat_t *pMat) |
int | Extra_BitMatrixReadSize (Extra_BitMat_t *p) |
void | Extra_BitMatrixInsert1 (Extra_BitMat_t *p, int i, int k) |
int | Extra_BitMatrixLookup1 (Extra_BitMat_t *p, int i, int k) |
void | Extra_BitMatrixDelete1 (Extra_BitMat_t *p, int i, int k) |
void | Extra_BitMatrixInsert2 (Extra_BitMat_t *p, int i, int k) |
int | Extra_BitMatrixLookup2 (Extra_BitMat_t *p, int i, int k) |
void | Extra_BitMatrixDelete2 (Extra_BitMat_t *p, int i, int k) |
void | Extra_BitMatrixOr (Extra_BitMat_t *p, int i, unsigned *pInfo) |
void | Extra_BitMatrixOrTwo (Extra_BitMat_t *p, int i, int j) |
int | Extra_BitMatrixCountOnesUpper (Extra_BitMat_t *p) |
int | Extra_BitMatrixIsDisjoint (Extra_BitMat_t *p1, Extra_BitMat_t *p2) |
int | Extra_BitMatrixIsClique (Extra_BitMat_t *pMat) |
void Extra_BitMatrixClean | ( | Extra_BitMat_t * | p | ) |
Function*************************************************************
Synopsis [Stops the bit matrix.]
Description []
SideEffects []
SeeAlso []
Definition at line 110 of file extraUtilBitMatrix.c.
int Extra_BitMatrixCountOnesUpper | ( | Extra_BitMat_t * | p | ) |
Function*************************************************************
Synopsis [Counts the number of 1's in the upper rectangle.]
Description []
SideEffects []
SeeAlso []
Definition at line 349 of file extraUtilBitMatrix.c.
void Extra_BitMatrixDelete1 | ( | Extra_BitMat_t * | p, |
int | i, | ||
int | k | ||
) |
Function*************************************************************
Synopsis [Inserts the element into the upper part.]
Description []
SideEffects []
SeeAlso []
Definition at line 230 of file extraUtilBitMatrix.c.
void Extra_BitMatrixDelete2 | ( | Extra_BitMat_t * | p, |
int | i, | ||
int | k | ||
) |
Function*************************************************************
Synopsis [Inserts the element into the upper part.]
Description []
SideEffects []
SeeAlso []
Definition at line 292 of file extraUtilBitMatrix.c.
void Extra_BitMatrixInsert1 | ( | Extra_BitMat_t * | p, |
int | i, | ||
int | k | ||
) |
Function*************************************************************
Synopsis [Inserts the element into the upper part.]
Description []
SideEffects []
SeeAlso []
Definition at line 190 of file extraUtilBitMatrix.c.
void Extra_BitMatrixInsert2 | ( | Extra_BitMat_t * | p, |
int | i, | ||
int | k | ||
) |
Function*************************************************************
Synopsis [Inserts the element into the upper part.]
Description []
SideEffects []
SeeAlso []
Definition at line 252 of file extraUtilBitMatrix.c.
int Extra_BitMatrixIsClique | ( | Extra_BitMat_t * | pMat | ) |
Function*************************************************************
Synopsis [Returns 1 if the matrix is a set of cliques.]
Description [For example pairwise symmetry info should satisfy this property.]
SideEffects []
SeeAlso []
Definition at line 391 of file extraUtilBitMatrix.c.
int Extra_BitMatrixIsDisjoint | ( | Extra_BitMat_t * | p1, |
Extra_BitMat_t * | p2 | ||
) |
Function*************************************************************
Synopsis [Returns 1 if the matrices have no entries in common.]
Description []
SideEffects []
SeeAlso []
Definition at line 369 of file extraUtilBitMatrix.c.
int Extra_BitMatrixLookup1 | ( | Extra_BitMat_t * | p, |
int | i, | ||
int | k | ||
) |
Function*************************************************************
Synopsis [Inserts the element into the upper part.]
Description []
SideEffects []
SeeAlso []
Definition at line 210 of file extraUtilBitMatrix.c.
int Extra_BitMatrixLookup2 | ( | Extra_BitMat_t * | p, |
int | i, | ||
int | k | ||
) |
Function*************************************************************
Synopsis [Inserts the element into the upper part.]
Description []
SideEffects []
SeeAlso []
Definition at line 272 of file extraUtilBitMatrix.c.
void Extra_BitMatrixOr | ( | Extra_BitMat_t * | p, |
int | i, | ||
unsigned * | pInfo | ||
) |
Function*************************************************************
Synopsis [Inserts the element into the upper part.]
Description []
SideEffects []
SeeAlso []
Definition at line 313 of file extraUtilBitMatrix.c.
void Extra_BitMatrixOrTwo | ( | Extra_BitMat_t * | p, |
int | i, | ||
int | j | ||
) |
Function*************************************************************
Synopsis [Inserts the element into the upper part.]
Description []
SideEffects []
SeeAlso []
Definition at line 331 of file extraUtilBitMatrix.c.
void Extra_BitMatrixPrint | ( | Extra_BitMat_t * | pMat | ) |
Function*************************************************************
Synopsis [Prints the bit-matrix.]
Description []
SideEffects []
SeeAlso []
Definition at line 144 of file extraUtilBitMatrix.c.
int Extra_BitMatrixReadSize | ( | Extra_BitMat_t * | p | ) |
Function*************************************************************
Synopsis [Reads the matrix size.]
Description []
SideEffects []
SeeAlso []
Definition at line 174 of file extraUtilBitMatrix.c.
Extra_BitMat_t* Extra_BitMatrixStart | ( | int | nSize | ) |
AutomaticStart AutomaticEnd Function*************************************************************
Synopsis [Starts the bit matrix.]
Description []
SideEffects []
SeeAlso []
Definition at line 81 of file extraUtilBitMatrix.c.
void Extra_BitMatrixStop | ( | Extra_BitMat_t * | p | ) |
Function*************************************************************
Synopsis [Stops the bit matrix.]
Description []
SideEffects []
SeeAlso []
Definition at line 126 of file extraUtilBitMatrix.c.