NUMBERNODEBDD(3)
okay bestie, this is NUMBERNODEBDD(3) β the BDD functions page that literally counts how many reduced nodes a BDD is using. no cap, itβs a tiny lil function with main character energy. πβ¨
πΈ ORIGIN πΈ
okay so origin story: this software belongs to the ALLIANCE CAD SYSTEM, 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
π NAME π
numberNodeBdd β computes the number of nodes used in a BDD. periodt. π
π SYNOPSIS π
#include "logmmm.h"
int numberNodeBdd(pBdd)
pNode pBdd;
π¦ PARAMETER π¦
pBddβ the BDD that the computation operates on. thatβs the one youβre counting nodes in, bestie. π¦
β¨ DESCRIPTION β¨
numberNodeBdd() computes the number of reduced nodes that are used in pBdd. thatβs it, thatβs the whole slay. π
Itβs giving βcount the nodesβ and nothing else.
π EXAMPLE π
okay hereβs the example, copied exactly because code is sacred:
#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(XOR,pt);
printf("number of nodes = %d",numberNodeBdd(res));
/* it will display
number of nodes = 5
*/
destroyBdd(1);
and yes, it will display number of nodes = 5 β iconic. π
π₯ 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, iykyk. π
π BUG REPORT π
This tool is under development at the ASIM department of the LIP6 laboratory. They need your feedback to improve documentation and tools. so send the feedback, bestie β itβs giving collaborative main character energy. π
xoxo, ASIM/LIP6 β October 1, 1997 β NUMBERNODEBDD(3) ππ
π¦ 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