#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include "base/main/main.h"#include "misc/extra/extra.h"#include "bdd/cudd/cudd.h"#include "bool/kit/kit.h"#include "misc/vec/vec.h"#include "misc/util/utilTruth.h"
Go to the source code of this file.
Functions | |
| ABC_NAMESPACE_IMPL_START void | Extra_ThreshPrintChow (int Chow0, int *pChow, int nVars) |
| DECLARATIONS ///. | |
| int | Extra_ThreshComputeChow (word *t, int nVars, int *pChow) |
| void | Extra_ThreshSortByChow (word *t, int nVars, int *pChow) |
| void | Extra_ThreshSortByChowInverted (word *t, int nVars, int *pChow) |
| int | Extra_ThreshInitializeChow (int nVars, int *pChow) |
| int | Extra_ThreshSelectWeights3 (word *t, int nVars, int *pW) |
| int | Extra_ThreshSelectWeights4 (word *t, int nVars, int *pW) |
| int | Extra_ThreshSelectWeights5 (word *t, int nVars, int *pW) |
| int | Extra_ThreshSelectWeights6 (word *t, int nVars, int *pW) |
| int | Extra_ThreshSelectWeights7 (word *t, int nVars, int *pW) |
| int | Extra_ThreshSelectWeights8 (word *t, int nVars, int *pW) |
| int | Extra_ThreshSelectWeights (word *t, int nVars, int *pW) |
| void | Extra_ThreshIncrementWeights (int nChows, int *pWofChow, int i) |
| void | Extra_ThreshDecrementWeights (int nChows, int *pWofChow, int i) |
| void | Extra_ThreshPrintInequalities (unsigned long **pGreaters, unsigned long **pSmallers, int nChows, int nInequalities) |
| void | Extra_ThreshCreateInequalities (char *pIsop, char *pIsopFneg, int nVars, int *pWofChow, int *pChow, int nChows, int nInequalities, unsigned long **pGreaters, unsigned long **pSmallers) |
| void | Extra_ThreshSimplifyInequalities (int nInequalities, int nChows, unsigned long **pGreaters, unsigned long **pSmallers) |
| int | Extra_ThreshAssignWeights (word *t, char *pIsop, char *pIsopFneg, int nVars, int *pW, int *pChow, int nChows, int Wmin) |
| void | Extra_ThreshPrintWeights (int T, int *pW, int nVars) |
| int | Extra_ThreshCheck (word *t, int nVars, int *pW) |
| int | Extra_ThreshHeuristic (word *t, int nVars, int *pW) |
| void | Extra_ThreshCheckTest () |
| void | Extra_ThreshHeuristicTest () |
| int Extra_ThreshAssignWeights | ( | word * | t, |
| char * | pIsop, | ||
| char * | pIsopFneg, | ||
| int | nVars, | ||
| int * | pW, | ||
| int * | pChow, | ||
| int | nChows, | ||
| int | Wmin ) |
Definition at line 434 of file extraBddThresh.c.


| int Extra_ThreshCheck | ( | word * | t, |
| int | nVars, | ||
| int * | pW ) |
Function*************************************************************
Synopsis [Checks thresholdness of the function.]
Description []
SideEffects []
SeeAlso []
Definition at line 570 of file extraBddThresh.c.


| void Extra_ThreshCheckTest | ( | ) |
Function*************************************************************
Synopsis [Checks unateness of a function.]
Description []
SideEffects []
SeeAlso []
Definition at line 653 of file extraBddThresh.c.

| int Extra_ThreshComputeChow | ( | word * | t, |
| int | nVars, | ||
| int * | pChow ) |
Definition at line 60 of file extraBddThresh.c.


| void Extra_ThreshCreateInequalities | ( | char * | pIsop, |
| char * | pIsopFneg, | ||
| int | nVars, | ||
| int * | pWofChow, | ||
| int * | pChow, | ||
| int | nChows, | ||
| int | nInequalities, | ||
| unsigned long ** | pGreaters, | ||
| unsigned long ** | pSmallers ) |
Definition at line 378 of file extraBddThresh.c.


| void Extra_ThreshDecrementWeights | ( | int | nChows, |
| int * | pWofChow, | ||
| int | i ) |
Definition at line 357 of file extraBddThresh.c.

| int Extra_ThreshHeuristic | ( | word * | t, |
| int | nVars, | ||
| int * | pW ) |
Function*************************************************************
Synopsis [Checks thresholdness of the function by using a heuristic method.]
Description []
SideEffects []
SeeAlso []
Definition at line 592 of file extraBddThresh.c.


| void Extra_ThreshHeuristicTest | ( | ) |
Definition at line 677 of file extraBddThresh.c.

| void Extra_ThreshIncrementWeights | ( | int | nChows, |
| int * | pWofChow, | ||
| int | i ) |
Definition at line 351 of file extraBddThresh.c.

| int Extra_ThreshInitializeChow | ( | int | nVars, |
| int * | pChow ) |
Definition at line 106 of file extraBddThresh.c.

| ABC_NAMESPACE_IMPL_START void Extra_ThreshPrintChow | ( | int | Chow0, |
| int * | pChow, | ||
| int | nVars ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [extraBddThresh.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [extra]
Synopsis [Dealing with threshold functions.]
Author [Augusto Neutzling, Jody Matos, and Alan Mishchenko (UC Berkeley).]
Affiliation [Federal University of Rio Grande do Sul, Brazil]
Date [Ver. 1.0. Started - October 7, 2014.]
Revision [
] FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Checks thresholdness of the function.]
Description []
SideEffects []
SeeAlso []
Definition at line 54 of file extraBddThresh.c.

| void Extra_ThreshPrintInequalities | ( | unsigned long ** | pGreaters, |
| unsigned long ** | pSmallers, | ||
| int | nChows, | ||
| int | nInequalities ) |
Definition at line 363 of file extraBddThresh.c.
| void Extra_ThreshPrintWeights | ( | int | T, |
| int * | pW, | ||
| int | nVars ) |
Definition at line 545 of file extraBddThresh.c.

| int Extra_ThreshSelectWeights | ( | word * | t, |
| int | nVars, | ||
| int * | pW ) |
Definition at line 334 of file extraBddThresh.c.


| int Extra_ThreshSelectWeights3 | ( | word * | t, |
| int | nVars, | ||
| int * | pW ) |
Definition at line 161 of file extraBddThresh.c.

| int Extra_ThreshSelectWeights4 | ( | word * | t, |
| int | nVars, | ||
| int * | pW ) |
Definition at line 188 of file extraBddThresh.c.

| int Extra_ThreshSelectWeights5 | ( | word * | t, |
| int | nVars, | ||
| int * | pW ) |
Definition at line 214 of file extraBddThresh.c.

| int Extra_ThreshSelectWeights6 | ( | word * | t, |
| int | nVars, | ||
| int * | pW ) |
Definition at line 241 of file extraBddThresh.c.

| int Extra_ThreshSelectWeights7 | ( | word * | t, |
| int | nVars, | ||
| int * | pW ) |
Definition at line 271 of file extraBddThresh.c.

| int Extra_ThreshSelectWeights8 | ( | word * | t, |
| int | nVars, | ||
| int * | pW ) |
Definition at line 302 of file extraBddThresh.c.

| void Extra_ThreshSimplifyInequalities | ( | int | nInequalities, |
| int | nChows, | ||
| unsigned long ** | pGreaters, | ||
| unsigned long ** | pSmallers ) |
Definition at line 412 of file extraBddThresh.c.

| void Extra_ThreshSortByChow | ( | word * | t, |
| int | nVars, | ||
| int * | pChow ) |
Definition at line 74 of file extraBddThresh.c.

| void Extra_ThreshSortByChowInverted | ( | word * | t, |
| int | nVars, | ||
| int * | pChow ) |
Definition at line 90 of file extraBddThresh.c.
