ADDBDDVARAFTER(3)
β¨ ADDBDDVARAFTER(3) β¨
okay bestie, welcome to the BDD FUNCTIONS corner of the manual, section 3, and today's main character is addbddvarafter π
π NAME π
addbddvarafter β it adds a new variable, right after an existing one. no cap, that's literally the whole job π¦
πΈ ORIGIN πΈ
so this software? it belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. iconic academic energy, honestly π
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
β¨ SYNOPSIS β¨
#include "bdd101.h"
bddnode βaddbddvarafter( BddSystem )
bddsystem βBddSystem;
bddindex Index;
π PARAMETERS π
BddSystemβ the bdd system. yeah, the whole system. she's the moment.Indexβ the bdd index of an existing variable. like, a variable that's already there, bestie. she has to exist first π«Ά
π¦ DESCRIPTION π¦
addbddvarafter creates a new variable, and its number is BddSystem->INDEX_TO_VAR[ Index ] + 1 in the bdd system BddSystem. so it slots in right behind the variable you pointed at, no drama π
and if you hand it a null pointer? cute. the default bdd system gets used instead. periodt π
π RETURN VALUE π
addbddvarafter returns a pointer to the bdd node of the new variable. that's your new baby, take good care of her π₯Ί
π₯ ERRORS π₯
"no more variables, error !"β there is no variable number left. she's booked and busy, there's genuinely no room π"index xxx out of range, error !"β theIndexparameter must be a valid index. invalid index = vibe check failed, bestie π
π EXAMPLE π
#include "bdd101.h"
bddsystem βBddSystem;
bddnode βBddNode1;
bddnode βBddNode2;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddNode1 = addbddvarfirst( (bddsystem β)0 );
BddNode2 = addbddvarafter( (bddsystem β)0, BddNode1->INDEX );
destroybddsystem( (bddsystem β)0 );
look at that. make a system, add the first variable, add another one after it using BddNode1->INDEX, then clean up after yourself like a responsible queen π§β¨
π 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, they're asking nicely, so if something's weird, tell them π
that's the whole page bestie, you ate that π
ASIM/LIP6 β October 1, 1997 β ADDBDDVARAFTER(3), mwah, go forth and add 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