NUMBERNODEALLBDD(3)

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

🌸 NUMBERNODEALLBDD(3) πŸ’… β€” it lives in the BDD functions section, bestie

okay so before we get into it β€” hi, hello, welcome to the BDD functions corner of the manual πŸ’– this page is literally your cheat sheet for counting nodes, and yes it's as iconic as it sounds.


✨ ORIGIN ✨

So this software? It 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 πŸ‡«πŸ‡·πŸ«Ά

like, go say hi, they're lovely. πŸ’Œ


πŸ‘‘ NAME πŸ‘‘

numberNodeAllBdd β€” counts the number of nodes used in the BDD system. that's it. that's the whole vibe check. counting. nodes. periodt. ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include "logmmm.h"
int numberNodeAllBdd()

no args, no drama, just vibes and an int. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

numberNodeAllBdd() counts the number of the nodes that are used in the BDD system. 🧚 that's every single one of them, the whole squad, tallied up. it's giving census energy and honestly? slay.


🌈 EXAMPLE 🌈

okay bestie here's the whole thing in action, fr fr:

#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);
printf("number of nodes = %d",numberNodeAllBdd());

/* it will display
number of nodes = 5
*/

destroyBdd(1);

and yes, the output is literally this β€” no cap:

number of nodes = 5

five nodes. five. πŸ”₯ the OR apply ate and left no crumbs, and then we say destroyBdd(1); and clean up like the responsible main characters we are. πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

go read these next, iykyk:

log(1), bdd(1), addListBdd(3), numberNodeBdd(3), notBdd(3), constraintBdd(3), composeBdd(3), displayBdd(3), createNodeTermBdd(3).

like the whole friend group, honestly. 🫢


πŸ’€ BUG REPORT πŸ’€

real talk for a sec πŸ™ˆ β€” this tool is under development at the ASIM department of the LIP6 laboratory. they need your feedback to improve documentation and tools, so if something's wonky, PLEASE tell them. your girl is only as good as her feedback loop, and so is this tool. πŸ’Œ


and that's the page!! ⭐ written by ASIM/LIP6, dated October 1, 1997 β€” and it belongs to the NUMBERNODEALLBDD(3) of this manual, BDD functions. old but iconic, fr fr. bye bestie, go count some nodes πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from