ADDLISTBDD(3)
okay bestie, you found ADDLISTBDD(3) from the BDD functions manual, and we're about to make a chained list of BDDs look cute and make sense π
β¨
π¦ 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. Iconic academic roots, no cap ππΈ
- Web:
http://asim.lip6.fr/recherche/alliance/ - E-mail:
alliance-users@asim.lip6.fr
β¨ NAME β¨
addListBdd β adds a BDD to a chained list of BDDs. Short, sweet, and literally the whole point π«Ά
π SYNOPSIS π
#include "logmmm.h"
chain_list *addListBdd(pt,pBdd)
chain_list *pt;
pNode pBdd;
π PARAMETERS π
ptβ the oldchain_listpointer, aka the list you already have, bestie.pBddβ the BDD to add. New node, who dis? π
πΈ DESCRIPTION πΈ
addListBdd() adds pBdd to pt. It computes an optimal reordering on pt that minimizes the number of nodes when the applyBdd() function is called. That's the lowkey optimization magic β¨
π EXAMPLE π
Here's the whole example, copied exactly because we do not mess with code in this house π«‘:
#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);
displayBdd(res,1);
/* it will display
@res INDEX = 4 LOW = @inter HIGH = ONE
@inter INDEX = 3 LOW = @nodeA HIGH = ONE
@nodeA INDEX = 2 LOW = ZERO HIGH = ONE
*/
/* total number of nodes = 5 */
destroyBdd(1);
π SEE ALSO π
log(1)bdd(1)addListBdd(3)addListBdd(3)β yes bestie, it's listed twice, and we're keeping it πnotBdd(3)constraintBdd(3)composeBdd(3)displayBdd(3)createNodeTermBdd(3)
π BUG REPORT π
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. So if you spot something, tell the girlies, fr fr ππ
xoxo from the ASIM/LIP6 source, dated October 1, 1997, page ADDLISTBDD(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