GARBAGEBDDSYSTEM(3)
β¨ GARBAGEBDDSYSTEM β¨
okay bestie, welcome to the garbagebddsystem(3) page β yes it's a section 3 BDD function, yes it lives in the BDD FUNCTIONS crew, and yes it's about to be your new fave lil janitor π
πΈ ORIGIN πΈ
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
π SYNOPSIS π
#include "bdd101.h"
void garbagebddsystem( BddSystem )
bddsystem *BddSystem;
π¦ PARAMETERS π¦
BddSystemβ the bdd system, bestie. that's it, that's the whole parameter. π
π DESCRIPTION π
so here's the tea: garbagebddsystem frees all the unused bdd nodes in the system BddSystem. it's giving spring cleaning, it's giving "we're letting go of what no longer serves us." β¨
if you hand it a null pointer</>, it just uses the default bdd system instead β no stress, no drama, she knows what to do. π
and what counts as "unused"?? a bdd node is unused if its number of reference is null. literally zero refs = zero vibes = bye bye. π
β RETURN VALUE β
garbagebddsystem returns nothing. not a value, not a status, nothing. she does the work and she leaves. main character energy, no receipts. π«Ά
π EXAMPLE π
#include "bdd101.h"
bddsystem *BddSystem;
bddcircuit *BddCircuit;
bddnode *BddNode;
chain_list *Expr;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
addbddcircuitin( (bddcircuit *)0, "i0", 0, BDD_IN_MODE_FIRST );
addbddcircuitin( (bddcircuit *)0, "i1", 0, BDD_IN_MODE_FIRST );
BddNode = applybddnode( (bddsystem *)0,
ABL_AND,
searchbddcircuitin( (bddcircuit *)0, "i0" ),
searchbddcircuitin( (bddcircuit *)0, "i1" ) );
decbddrefext( BddNode );
garbagebddsystem( (bddsystem *)0 );
destroybddsystem( (bddsystem *)0 );
destroybddcircuit( (bddcircuit *)0 );
see how she drops the ref with decbddrefext( BddNode ) and then calls garbagebddsystem( (bddsystem *)0 )? that's the whole point, that node is now unused and she's coming to collect. π§Ήβ¨
π SEE ALSO π
π BUG REPORT π
This tool is under development at the ASIM department of the LIP6 laboratory. π οΈ
We need your feedback to improve documentation and tools. fr fr, tell them what's broken β they're asking nicely and they mean it. π
ASIM/LIP6 Β· October 1, 1997 β yeah she's an icon from the 90s and she's still serving. mwah, stan forever. πππ¦β¨
π¦ 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