SUPPORTCHAIN_LISTBDD(3)

πŸ“¦ version 5.1.1-unstable-2025-02, in nixos 26.05, nixpkgs unstable

πŸ’– SUPPORTCHAIN_LISTBDD(3) πŸ’–

okay bestie, welcome to the BDD functions manual β€” this page is all about supportChain_listBdd, and it's lowkey iconic. ✨


🌈 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.

πŸ’… NAME πŸ’…

supportChain_listBdd β€” returns a chained list of nodes that are used in a given BDD. no cap, that's the whole name. 🫢

✨ SYNOPSIS ✨

#include "logmmm.h"
chain_list *supportChain_listBdd(pBdd)
pNode pBdd;

πŸŽ€ PARAMETER πŸŽ€

  • pBdd β€” a BDD. That's the one and only parameter, bestie. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

supportChain_listBdd() creates a chained list in which all the nodes of pBdd are represented.

That's it β€” it's giving β€œmake me the chained list of nodes from this BDD” energy. 🌸

πŸ”₯ EXAMPLE πŸ”₯

okay so here's the full little example, and yes, the comments and output are part of the lore. copy commands exactly, bestie:

#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);
pt = supportChain_listBdd(res);

while (pt)
   {
   printf("--- ");
   displayBdd((pNode) pt->DATA,0);    /* displays the node */
   pt = pt->NEXT;
   }
/* it will display

--- @nodeA   index = 2  LOW = ZERO    HIGH = ONE
--- @inter   index = 3  LOW = @nodeA  HIGH = ONE
--- @res     index = 4  LOW = @inter  HIGH = ONE
*/

destroyBdd(1);

🧚 SEE ALSO 🧚

go peek at these other pages, 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.

This page is brought to you by ASIM/LIP6, dated October 1, 1997, and its manual title is SUPPORTCHAIN_LISTBDD(3). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from