ISBDDVARINSUPPORT(3)
π ISBDDVARINSUPPORT(3) π
okay so bestie, welcome to isbddvarinsupport from the BDD FUNCTIONS crew β this is the manual page for it and we're gonna read it together like it's a group chat, except every single fact is staying exactly where it is. no cap. π«Ά
πΈ 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
like, the whole thing was born in Paris. it's giving chic. it's giving academia. π
β¨ SYNOPSIS β¨
#include "bdd101.h"
int isbddvarinsupport( BddSystem, BddNode, Variable )
bddsystem βBddSystem;
bddnode βBddNode;
bddvar Variable;
three args, one int back, that's the whole vibe. π
π¦ PARAMETERS π¦
BddSystemβ the bdd system. the whole lil universe we're working in.BddNodeβ the bdd node. the main character of this operation.Variableβ the variable number. the one we're asking about.
π DESCRIPTION π
okay so here's the tea: isbddvarinsupport tests if the variable number Variable appears in the support of the bdd node BddNode, inside the bdd system BddSystem. π
and here's the cute part β if a null pointer is given, the default bdd system is used. so like, you don't have to name a system. she's flexible. she's low maintenance. π§
π RETURN VALUE π
isbddvarinsupport returns 1 if Variable appears, and 0 otherwise. binary. iconic. no in-between. β¨
π ERRORS π
"variable xxx out of range, error !"TheVariableparameter must be less or equal to theBddSystem->NUMBER_VARfield.
so like, don't come in here with a variable number that's too big, bestie, she WILL call you out. π
π EXAMPLE π
#include "bdd101.h"
bddsystem βBddSystem;
bddcircuit βBddCircuit;
bddnode βBddNode;
bddnode βBddVariable;
chain_list βExpr;
bddvar Variable;
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 );
BddVariable = searchbddcircuitin( (bddcircuit β)0, "i0" );
Variable = getbddvarbyindex( (bddsystem β 0), BddVariable->INDEX ) );
/* displays 1 */
printf( "%d", isbddvarinsupport( (bddsystem β)0, BddNode, Variable ) );
destroybddsystem( (bddsystem β)0 );
destroybddcircuit( (bddcircuit β)0 );
and yeah β that printf displays 1. we love a predictable ending. π₯
π 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. like, fr fr, they're asking. send the feedback. it's giving community. π«Ά
and that's a wrap on ISBDDVARINSUPPORT(3), brought to you by ASIM/LIP6 β this version is dated October 1, 1997 β so she's an elder but she's still serving. slay, bestie, go test those variables. π πΈ
π¦ 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