NUMBERNODEALLBDD(3)
π NUMBERNODEALLBDD(3) β BDD functions π
okay bestie, so this is a page from the ALLIANCE CAD SYSTEM manual, and before we get into the actual tea, let me tell you where this whole thing comes from, because the origin story is lowkey iconic π
πΈ ORIGIN πΈ
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. π«π·β¨
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
like... Paris. the LIP6 lab. the ASIM team. we love a French academic slay π«Ά
β¨ NAME β¨
numberNodeAllBdd β count the number of nodes used in the BDD system π
π¦ SYNOPSIS π¦
#include "logmmm.h"
int numberNodeAllBdd()
π« DESCRIPTION π«
okay so numberNodeAllBdd() counts the number of the nodes that are used in the BDD system. that's it. that's the whole job. it's giving "one (1) task, executed flawlessly" π
π EXAMPLE π
here's the whole vibe in code form, no cap:
#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);
so you set up your BDD with initializeBdd(SMALL_BDD), make three term nodes (nodeA and nodeB at 3, nodeC at 4), stack them into a chain_list with addListBdd(), hit it with applyBdd(OR,pt), and then numberNodeAllBdd() tells you what's what. and fr fr it prints:
number of nodes = 5
five nodes. periodt. then you destroyBdd(1) and go about your day π
π SEE ALSO π
log(1)bdd(1)addListBdd(3)numberNodeBdd(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.
ngl they're literally asking for your input β if something's weird, tell them. they want the feedback fr ππ
and that's the page!! π it's from ASIM/LIP6, dated October 1, 1997, and the manual page is NUMBERNODEALLBDD(3). mwah, go count some nodes β¨π
π¦ 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