CREATENODETERMBDD(3)
πΈ CREATENODETERMBDD(3) β BDD functions πΈ
ok bestie come SIT with me because this one is actually so cute and simple, it's giving "small function, big main character energy" π
ποΈ ORIGIN ποΈ
ok so first of all, this whole thing is fancy. 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. oui oui baguette π₯
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
β¨ NAME β¨
createNodeTermBdd β creates a terminal node of variable. periodt. that's the whole gig π
π SYNOPSIS π
#include "logmmm.h"
pNode createNodeTermBdd(index)
short index;
π§ PARAMETER π§
indexβ the associated index, bestie. that's the only thing you're handing over π«Ά
π DESCRIPTION π
ok so createNodeTermBdd() creates a terminal node that corresponds to index. slay.
and here's the iconic part: because of the reduction table, this function always returns the same pNode for a given index. like, every single time. same index in, same node out. no cap π§’β¨
oh and heads up: 0 and 1 index are reserved for the zero and one nodes. so don't come for those, they're taken π
π EXAMPLE π
#include "mutnnn.h" /* mbk utilities */
#include "logmmm.h"
pNode nodeA;
initializeBdd(SMALL_BDD);
nodeA = createNodeTermBdd(3);
displayBdd(nodeA,1);
/* it will display
@nodeA INDEX = 2 LOW = ZERO HIGH = ONE
*/
nodeA = createNodeTermBdd(3); /* nodeA doesn't change */
destroyBdd(1);
see how nodeA doesn't change the second time? that's the reduction table doing its little magic trick, we love a consistent queen π
π₯
π ERROR π
"createNodeTermBdd : error - index < 2"
indexmust be strictly higher than 1. so2and up only, bestie. try to sneak a0or a1in there and it will literally yell at you π
π¦ SEE ALSO π¦
log(1), bdd(1), applyBinBdd(3), applyBdd(3), addListBdd(3), displayBdd(3), notBdd(3).
go read the whole friend group, they're all icons π«Ά
π BUG REPORT π
ok so, transparency time: this tool is under development at the ASIM department of the LIP6 laboratory.
and they need your feedback to improve documentation and tools. so likeβ¦ if something's weird, TELL THEM. they're asking. they want the notes fr fr π
mwah that's the whole page babes, go make some terminal nodes πβ¨π
β written with love by ASIM/LIP6, dated October 1, 1997 (a vintage queen, we stan) ππΈ
π¦ 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