APPLYBDD(3)
πΈ ORIGIN πΈ
okay so bestie, first things first β this whole thing belongs to the ALLIANCE CAD SYSTEM, which was built by the ASIM team over at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. π«π·β¨
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
β¨ NAME β¨
applyBdd β the girl whose whole job is applying an operator to a list of BDD. π
(also hi, this is APPLYBDD(3), from the BDD functions girlies π¦)
π SYNOPSIS π
#include "logmmm.h"
pNode applyBdd(oper,pt)
short oper;
chain_list *pt;
π PARAMETERS π
operβ the operator number you wanna apply. options are(OR,AND,XOR,NAND,NOR,NXOR,NOT). no cap. π₯ptβ achain_listof BDD. that's the list, bestie.
π«Ά DESCRIPTION π«Ά
so applyBdd() applies oper to a list of Bdd. that list can be made with the addListBdd() function, iykyk.
this function is literally the basic method for creating the representation of a function according to the operators in a boolean expression. it's giving foundational. it's giving main character energy. π
π EXAMPLE π
#include "mutnnn.h" /* mbk utilities */
#include "logmmm.h"
pNode nodeA,nodeB,nodeC;
pNode res;
chain_list *pt;
initializeBdd(SMALL_BDD);
nodeA = createNodeTermBdd(3);
nodeB = createNodeTermBdd(3);
nodeC = createNodeTermBdd(4);
pt = NULL;
pt = addListBdd(pt,nodeA);
pt = addListBdd(pt,nodeB);
pt = addListBdd(pt,nodeC);
res = applyBdd(OR,pt);
displayBdd(res,1);
/* it will display
@res INDEX = 4 LOW = @inter HIGH = ONE
@inter INDEX = 3 LOW = @nodeA HIGH = ONE
@nodeA INDEX = 2 LOW = ZERO HIGH = ONE
*/
destroyBdd(1);
likeβ¦ it will display exactly that. obsessed. π
π ERRORS π
"applyBdd : error - unknown operator"β the operator number must be in(OR,AND,XOR,NAND,NOR,NXOR,NOT). so pick a real one bestie, fr fr."applyBdd : error - chained list is empty"β chained list pointerpt = NULL. π nothing there."applyBdd : error - bad operator"β The number of arguments is 1 and the operator is distinct fromNOT. chained list pointerpt = NULL.
π SEE ALSO π
log(1), bdd(1), addListBdd(3), applyBinBdd(3), notBdd(3), constraintBdd(3), composeBdd(3), displayBdd(3), createNodeTermBdd(3).
go read those too, bestie, they're all part of the same friend group π§
π BUG REPORT π
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools.
not me begging for feedbackβ¦ but literally though, pls send it. π
and that's the whole page, bestie!! this one came out of ASIM/LIP6, version vibes from October 1, 1997 β yeah she's an elder but she ATE and she's still iconic. periodt. π β¨
π¦ where this page comes from
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms