GETBDDNODESUPPORT(3)
β¨ GETBDDNODESUPPORT(3) β¨
okay bestie, buckle up, this one lives in the BDD FUNCTIONS section of the manual (that's manual section 3, the library-call girlies π ) and it's literally the function that tells you which variables actually matter to a bdd node. no cap.
πΈ NAME πΈ
getbddnodesupport β gives the variable support of a bdd node. that's it, that's the whole vibe. she serves support. π«Ά
π ORIGIN π
this software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team over at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France π«π·β¨ (yes, the Pierre and Marie Curie, iconic behavior).
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
π SYNOPSIS π
#include "bdd101.h"
void βgetbddnodesupport( BddSystem, BddNode, Mode )
bddsystem βBddSystem;
bddnode βBddNode;
int Mode;
π PARAMETERS π
BddSystemβ the bdd system. the whole little universe this node lives in.BddNodeβ the bdd node. the main character we're investigating.Modeβ the type of support. literally the what flavor of support do you want dial.
π¦ DESCRIPTION π¦
getbddnodesupport gives the support of the bdd node BddNode in the bdd system BddSystem. it's giving "who are your people, node?" energy.
if a null pointer is given, the default bdd system is used β so you can be lazy and she'll still catch you π.
if Mode is BDD_SUPPORT_CHAIN the support is returned using chain_list, else it is returned using ptype_list. two different containers, two different vibes, pick your fighter.
β οΈ important bestie: the support must be freed using thefreechainorfreeptypefunctions. do NOT ghost the memory, that's a leak and the vibe check will fail π
β RETURN VALUE β
getablexprsupport returns a pointer to a chain_list or a ptype_list. (yes the manual says getablexprsupport, we don't make the rules, we just report them faithfully π)
π₯ EXAMPLE π₯
#include "bdd101.h"
bddsystem βBddSystem;
bddcircuit βBddCircuit;
bddnode βBddNode;
chain_list βExpr;
chain_list βSupport;
chain_list βScanSupport;
bddindex Index;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
Expr = createablbinexpr( ABL_AND,
createablatom( "i0" ),
createablatom( "i1" ) );
BddNode = addbddcircuitabl( BddCircuit, Expr );
freeablexpr( Expr );
Support = getablbddnodesupport( (bddsystem β0), BddNode, BDD_SUPPORT_CHAIN );
for ( ScanSupport = Support;
ScanSupport != (chain_list β)0;
ScanSupport = ScanSupport->NEXT )
{
Index = (bddnode β)ScanSupport->INDEX;
printf( "%s ", BddCircuit->NAME_IN[ Index - BDD_INDEX_MIN ] );
}
freechain( Support );
destroybddsystem( (bddsystem β)0 );
destroybddcircuit( (bddcircuit β)0 );
look at her go, walking the chain, printing names, cleaning up after herself. she's so organized it's lowkey inspiring β¨
π SEE ALSO π
π BUG REPORT π
this tool is under development at the ASIM department of the LIP6 laboratory. they need your feedback to improve documentation and tools β so like, slide into their inbox, bestie, they're literally asking π¬
and that's the whole page, no notes, ate and left no crumbs π β¨
this iconic little number is brought to you by ASIM/LIP6, dated October 1, 1997 β vintage but still slaying β and it lives in manual page GETBDDNODESUPPORT(3) ππ¦π
π¦ 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