APPLYBINBDD(3)
π APPLYBINBDD(3) β BDD functions
okay bestie, so you're in the APPLYBINBDD(3) girlies now β¨ this one lives in the BDD functions section of the manual, and it's honestly a whole vibe. buckle up π
πΈ ORIGIN
So like, this software belongs to the ALLIANCE CAD SYSTEM, which was developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France π«π·β¨ iconic, honestly.
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
π NAME
applyBinBdd β applies an operator to two BDD. that's it, that's the function, and she ate π
β¨ SYNOPSIS
#include "logmmm.h"
pNode applyBinBdd(oper,pBdd1,pBdd2)
short oper;
pNode pBdd1;
pNode pBdd2;
π¦ PARAMETERS
operβ the operator number you wanna apply. your options areOR,AND,XOR,NAND,NOR,NXORπ pick your fighter.pBdd1β the first argument, i.e. bdd number one.pBdd2β the second argument, i.e. bdd number two. bestie duo fr fr π«Ά
π DESCRIPTION
applyBinBdd() applies oper to pBdd1 and pBdd2. that's the whole bit. she provides the basic method for creating the representation of a boolean function β lowkey the main character of this whole operation, ngl πβ¨
π EXAMPLE
okay here's the moment you've been waiting for, the actual code:
#include "mutnnn.h" /* mbk utilities */
#include "logmmm.h"
pNode nodeA,nodeB;
pNode res;
initializeBdd(SMALL_BDD);
nodeA = createNodeTermBdd(3);
nodeB = createNodeTermBdd(3);
res = applyBinBdd(OR,nodeA,nodeB);
displayBdd(res,1);
/* it will display
@res INDEX = 3 LOW = @nodeA HIGH = ONE
@nodeA INDEX = 2 LOW = ZERO HIGH = ONE
*/
destroyBdd(1);
and yes bestie, it will display exactly:
@res INDEX = 3 LOW = @nodeA HIGH = ONE
@nodeA INDEX = 2 LOW = ZERO HIGH = ONE
no cap, it's giving perfection π
π SEE ALSO
like, go read these too, they're all in the family:
log(1), bdd(1), applyBdd(3), notBdd(3), constraintBdd(3), composeBdd(3), addListBdd(3), displayBdd(3), createNodeTermBdd(3).
π BUG REPORT
real talk: this tool is under development at the ASIM department of the LIP6 laboratory π οΈ
We need your feedback to improve documentation and tools. so like, if something's weird, tell them!! your girl is asking nicely π₯Ίπ
ngl, if you made it this far you're literally a BDD scholar now. slay. periodt. π
okay bye bestie π this page came from ASIM/LIP6, dated October 1, 1997, and it goes by APPLYBINBDD(3) β catch you in the next manpage ππ¦β¨
π¦ where this page comes from
- nixos 26.05: alliance 5.1.1-unstable-2025-02-24
- nixpkgs unstable: alliance 5.1.1-unstable-2025-02-24
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms