UNMARKBDDNODE(3)
π unmarkbddnode(3) β BDD FUNCTIONS π
okay bestie, we are officially in UNMARKBDDNODE(3) territory, and the whole vibe is βtake a mask off a bdd node and count the newly unmarked nodes.β No cap, itβs niche but iconic.
β¨ NAME β¨
unmarkbddnode β unmarks bdd node with a specified mask. Periodt.
π ORIGIN π
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at the LIP6 laboratory of UniversitοΏ½ Pierre and Marie CURIE, in Paris, France.
- 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.BddNodeβ the bdd node to unmark.Markβ the bit mask.
π¦ DESCRIPTION π¦
unmarkbddnode unmarks the bdd node BddNode with the bit mask Mark, in the bdd system BddSystem. If a null pointer is given, the default bdd system is used. This function does a AND with the field MARK of the bdd node BddNode, and the complemented bit mask Mark. Thatβs the whole mechanic, bestie β lowkey elegant.
β RETURN VALUE β
unmarkbddnode returns the number of the different unmarked nodes. Yes, it counts them. Slay.
π₯ EXAMPLE π₯
Hereβs the example, kept exactly as the original gives it:
#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 ALSO π
bdd(1) β thatβs the reference, bestie. Go give it a read. π
π BUG REPORT π
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. So pls, send the feedback β the docs and tools wanna glow up. π«Ά
π cute sign-off: source/versionASIM/LIP6, dateOctober 1, 1997, manualUNMARKBDDNODE(3)β thatβs the footer, but make it fashion. π
π¦ where this page comes from
- nixos 26.05: alliance 5.1.1-unstable-2025-02-24
- nixpkgs unstable: alliance 5.1.1-unstable-2025-02-24
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms