UNMARKBDDNODE(3)
π NAME π
Bestie, welcome to UNMARKBDDNODE(3) β it's a page from the BDD FUNCTIONS corner of the manual, and it's about one lil' job:
unmarkbddnode β unmarks a bdd node with a specified mask π
π ORIGIN π
Okay so this software is part of the ALLIANCE CAD SYSTEM, and it was developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. Oui oui, trΓ¨s chic π«π·β¨
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
β¨ SYNOPSIS β¨
#include "bdd101.h"
long unmarkbddnode( BddSystem, BddNode, Mark )
bddsystem βBddSystem;
bddnode βBddNode;
bddunmark Mark;
π PARAMETERS π
BddSystemβ the bdd system, the whole lil' universe we're working in πBddNodeβ the bdd node we're gonna unmark, our main character fr πMarkβ the bit mask, aka the vibe filter ποΈ
π¦ DESCRIPTION π¦
So unmarkbddnode unmarks the bdd node BddNode with the bit mask Mark, inside the bdd system BddSystem. Iconic, right?
Heads up bestie: if you hand it a null pointer, it just uses the default bdd system instead. No stress π
And what is it actually doing under the hood? It does an AND with the field MARK of the bdd node BddNode, and the complemented bit mask Mark. So it's clearing those bits. Slay β¨
π RETURN VALUE π
unmarkbddnode returns the number of the different unmarked nodes. It's literally counting its wins ππ
π₯ EXAMPLE π₯
Here's the whole thing in action, copied exactly as it lives in the manual (no cap, character for character):
#include "bdd101.h"
bddsystem βBddSystem;
bddcircuit βBddCircuit;
bddnode βBddNode;
chain_list βExpr;
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 );
printf( "Number nodes: %ld0,
markbddnode( (bddsystem β)0, BddNode, 0x0001 ) );
unmarkbddnode( (bddsystem β)0, BddNode, 0x0001 );
destroybddsystem( (bddsystem β)0 );
destroybddcircuit( (bddcircuit β)0 );
See how it marks with 0x0001 and then unmarks with 0x0001? Balance. Symmetry. Character development π§β¨
πΈ SEE ALSO πΈ
bdd(1)β go read it, iykyk π«Ά
π BUG REPORT π
Real talk: this tool is under development at the ASIM department of the LIP6 laboratory.
And listen β we need your feedback to improve the documentation and the tools. So like, please tell them things ππ
And that's the whole page, bestie! This one came from ASIM/LIP6, dated October 1, 1997 β yes, a 90s legend, still serving π π bye bye, go unmark some nodes π¦β¨
π¦ 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