SWAPBDDVAR(3)
π SWAPBDDVAR π
okay bestie, welcome to the swapbddvar page from the BDD FUNCTIONS manual β it's giving very specific, very powerful, very "two variables walk into a bar and switch places" energy β¨
πΈ NAME πΈ
swapbddvar β swaps two contiguous variables. that's it. that's the whole job. and she does it flawlessly π
π¦ ORIGIN π¦
so 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, they literally built a whole CAD system. main character energy fr fr π
β¨ SYNOPSIS β¨
#include "bdd101.h"
void swapbddvar( BddSystem, Variable )
bddsystem βBddSystem;
bddvar Variable;
π PARAMETERS π
BddSystemβ the bdd system. yes, the one. your whole little universe of nodes πVariableβ the variable to swap. she's getting a new neighbor, no cap.
π DESCRIPTION π
okay so here's the tea β: swapbddvar swaps the variable number Variable with the variable number Variable + 1, inside the bdd system BddSystem.
and if you hand her a null pointer? she just uses the default bdd system. lowkey iconic behavior, honestly π«Ά
this function is useful for the bdd nodes reordering β so like, when your nodes need a lil glow-up and a new arrangement, this is the girl you call π β¨
β RETURN VALUE β
swapbddvar returns nothing. she gives you no receipts, no notes, no little gift. just vibes. π
π ERRORS π
"variable xxx out of range, error !"β this pops up whenVariableandVariable + 1aren't valid variable numbers. so like, pls give her valid ones bestie, she's begging π
πΈ EXAMPLE πΈ
#include "bdd101.h"
bddsystem βBddSystem;
bddnode βBddNode1;
bddnode βBddNode2;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddNode1 = addbddvar( (bddsystem β)0, 0 );
BddNode2 = addbddvar( (bddsystem β)0, 0 );
swapbddvar( (bddsystem β)0, 0 );
destroybddsystem( (bddsystem β)0 );
see how she created a system, added some vars, swapped, and cleaned up after herself? that's called being a responsible queen ππ
π₯ SEE ALSO π₯
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. they're literally asking. don't leave them on read ππ
ASIM/LIP6 Β· October 1, 1997 Β· and that's the SWAPBDDVAR(3) page bestie β go forth and swap those variables, you absolute legend ππβ¨π¦
π¦ 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