RELPRODBDDNODEASSOC(3)
โจ RELPRODBDDNODEASSOC(3) โจ
okay bestie, gather round, because today we're talking about relprodbddnodeassoc from the BDD FUNCTIONS section of the manual ๐
this is a C function, she's giving very much "3" energy, and honestly? she's iconic for what she does.
๐ NAME ๐
relprodbddnodeassoc โ she computes a relational product. that's it, that's the whole vibe. no cap. ๐ฆ
๐ธ ORIGIN ๐ธ
so this software is part of the ALLIANCE CAD SYSTEM, which was developed by the ASIM team at the LIP6 laboratory of Universitรฉ Pierre et Marie CURIE, in Paris, France ๐ซ๐ทโจ (yes, the Paris, trรจs chic, very main character).
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
like, they literally put their whole contact info in here so you can slide into their inbox. respectful. ๐ซถ
๐ SYNOPSIS ๐
#include "bdd101.h"
bddnode โrelprodbddnodeassoc( BddSystem, BddNode1, BddNode2, BddAssoc )
bddsystem โBddSystem;
bddnode โBddNode1;
bddnode โBddNode2;
bddassoc โBddAssoc;
look at that signature. she's serving parameters. ๐
๐ PARAMETERS ๐
BddSystemโ the bdd system. your whole world, basically.BddNode1โ the first bdd node. the og.BddNode2โ the second bdd node. the sequel.BddAssocโ the variable association. the one who decides what gets suppressed.
๐ DESCRIPTION ๐
okay so here's the tea โ relprodbddnodeassoc computes BddNode1 AND BddNode2, and then it suppresses the variables that are associated with something in the variable association BddAssoc, all inside the bdd system BddSystem.
and listen โ if a null pointer is given, the default bdd system is used. so like, she's flexible. she adapts. periodt. ๐
โญ RETURN VALUE โญ
relprodbddnodeassoc returns the computed bdd node. that's your prize bestie, take it ๐
๐จ ERRORS ๐จ
"bad variable association xxx, error !"โ theBddAssocparameter must be a valid variable association. like, it's giving invalid and she is not having it. ๐ญ fix your assoc before you come to her.
๐ง EXAMPLE ๐ง
okay here's a whole little program, read it and weep (affectionately):
#include "bdd101.h"
bddsystem โBddSystem;
bddcircuit โBddCircuit;
bddnode โBddNode;
bddnode โBddNode1;
bddnode โBddNode2;
bddnode โBddVariable;
bddassoc โAssoc;
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" ) );
BddNode1 = addbddcircuitabl( BddCircuit, Expr );
freeablexpr( Expr );
Expr = createablbinexpr( ABL_OR,
createablatom( "i0" ),
createablatom( "i1" ) );
BddNode2 = addbddcircuitabl( BddCircuit, Expr );
freeablexpr( Expr );
BddVariable = searchbddcircuitin( (bddcircuit โ)0, "i0" );
Variable = getbddvarbyindex( (bddsystem โ)0, BddVariable->INDEX );
Assoc = addbddassoc( (bddsystem โ)0 );
addbddnodeassoc( (bddsystem โ)0, Assoc, Variable, BddSystem->ONE );
BddNode = relprodbddnodeassoc( (bddsystem โ)0, BddNode1, BddNode2, Assoc );
Expr = convertbddcircuitabl( BddCircuit, BddNode );
/* displays i1 */
viewablexpr( Expr, ABL_VIEW_VHDL );
freeablexpr( Expr );
destroybddassoc( (bddsystem โ)0 );
destroybddsystem( (bddsystem โ)0 );
destroybddcircuit( (bddcircuit โ)0 );
and yes, the comment /* displays i1 */ is doing a lot of heavy lifting in there and we love her for it ๐
๐ฅ SEE ALSO ๐ฅ
bdd(1) โ go read that one too, iykyk.
๐ 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, if something's weird, tell them! constructive vibes only.
and that's the whole page bestie ๐ this was RELPRODBDDNODEASSOC(3) from ASIM/LIP6, dated October 1, 1997 โ yes she's a 90s baby and she's still out here computing relational products. legacy behavior, honestly. slay ๐
โจ
๐ฆ 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