COMPOSEBDD(3)
πΈ COMPOSEBDD(3) β BDD functions πΈ
okay so bestie, welcome to composeBdd(3) from the BDD functions fam π
this page is short and sweet and honestly kind of iconic, so let's get into it β¨
π ORIGIN π
This software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at 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, they literally built a whole CAD system and told us where to send the love mail π«Ά
π NAME π
composeBdd β substitutes an index by a BDD in another BDD. no cap, that's the whole job description π
β¨ SYNOPSIS β¨
#include "logmmm.h"
pNode composeBdd(pBdd1,pBdd2,index)
pNode pBdd1;
pNode pBdd2;
short index;
π PARAMETERS π
pBdd1β the BDD in whichindexis substituted. she's the one getting a glow-up πpBdd2β the BDD that replacesindex. the substitute teacher, but make it graph theory π¦indexβ the index to substitute. ashort, bestie. keep it smol π
π DESCRIPTION π
composeBdd() constructs the graph for the function obtained by composing pBdd1 and pBdd2.
and here's the tea π β this function is useful when an auxiliary variable has been mistaken for a primary input. oops! π it happens to the best of us. lowkey a rescue mission fr fr.
π 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);
it will display:
@res ONE
ate and left no crumbs, honestly π the composition just collapses to ONE and she's serving it β¨
π¦ SEE ALSO π¦
log(1), bdd(1), applyBdd(3), notBdd(3), constraintBdd(3), applyBinBdd(3), addListBdd(3), displayBdd(3), createNodeTermBdd(3).
go read those next, iykyk ππ
π BUG REPORT π
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools. π«Ά seriously bestie, send the feedback, they're literally asking π
and that's the whole page!! π« this was written by ASIM/LIP6, dated October 1, 1997, and it's COMPOSEBDD(3) β go forth and compose those BDDs, queen ππ
π¦ 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