COMPOSEBDD(3)
π ORIGIN π
okay so bestie, before we get into it, let's give credit where credit is due, because 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 πΈ
composeBdd β substitutes an index by a BDD in another BDD. it's giving "swap out the placeholder, bestie" energy π
β¨ SYNOPSIS β¨
#include "logmmm.h"
pNode composeBdd(pBdd1,pBdd2,index)
pNode pBdd1;
pNode pBdd2;
short index;
π PARAMETERS π
pBdd1β the BDD where the substitution happens, i.e. the one in which index gets substituted. it's the main character of this operation π«ΆpBdd2β the BDD that replaces index. the glow-up replacement β¨indexβ the index to substitute. yes girl, this is the one getting swapped out π
π¦ DESCRIPTION π¦
composeBdd() constructs the graph for the function you get by composing pBdd1 and pBdd2. literally building the graph, no cap.
and like, when would you even need this? bestie, it's for when an auxiliary variable has been mistaken for a primary input. we've all been there π this function is the fix.
π EXAMPLE π
#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); /* res = (OR a b) */
res = composeBdd(res,notBdd(nodeB),2); /* composition : a = (NOT B) */
displayBdd(res,1);
/* it will display
@res ONE
*/
destroyBdd(1);
and that's it, that's the whole vibe. it will display @res ONE and you're done, periodt. π
π₯ SEE ALSO π₯
log(1), bdd(1), applyBdd(3), notBdd(3), constraintBdd(3), applyBinBdd(3), addListBdd(3), displayBdd(3), createNodeTermBdd(3).
go read those too, iykyk ππ
π BUG REPORT π
ngl, this tool is under development at the ASIM department of the LIP6 laboratory. so yeah, it's a work in progress, be nice π₯Ί
we need your feedback to improve documentation and tools. fr fr, send the feedback, it's the whole point π«Ά
that's the tea, bestie π this was COMPOSEBDD(3) from the ASIM/LIP6 era, dated October 1, 1997 β yes, iconic vintage, we love a classic β¨ππ¦
π¦ 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