APPLYBINBDD(3)

πŸ“¦ version 5.1.1-unstable-2025-02, in nixos 26.05, nixpkgs unstable

πŸ’… 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.


πŸ’– 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 are OR, 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