MARKBDDNODE(3)
π markbddnode β NAME, bestie edition
ok so, <pink>markbddnode</pink> marks a bdd node with a specified mask. that's it, that's the whole vibe. it's a BDD function (manual page MARKBDDNODE(3), section 3, if you're keeping track π).
β¨ 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, the whole lineage is right there. iconic.
π¦ SYNOPSIS π¦
#include "bdd101.h"
long markbddnode( BddSystem, BddNode, Mark )
bddsystem βBddSystem;
bddnode βBddNode;
bddmark Mark;
πΈ PARAMETERS πΈ
BddSystemβ the bdd system. your whole little universe of nodes, yes ma'am.BddNodeβ the bdd node to mark. this is the one getting the glitter sticker. βMarkβ the bit mask. the actual glitter, in bit form.
π DESCRIPTION π
okay so here's the tea. markbddnode marks the bdd node BddNode with the bit mask Mark, in the bdd system BddSystem.
and like β if a null pointer is given, the default bdd system is used. so you don't even have to pick, it just knows. π«Ά
under the hood, this function does a OR with the field MARK of the bdd node BddNode, and the bit mask Mark. no cap, that's literally the whole operation. bits go brrr. π₯
β RETURN VALUE β
markbddnode returns the number of the different marked nodes. slay, it counted them for you. π
π§ EXAMPLE π§
#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 );
bestie that %ld0, is literally how it's written in the original page β not my typo, i promise. π copying it exactly because facts are facts.
so the example builds a system, builds a circuit called "hello_world", makes an ABL_AND expression over "i0" and "i1", adds it, frees the expression, prints the node count, marks with 0x0001, unmarks with 0x0001, then destroys everything. full life cycle. main character energy from start to cleanup. π
π 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, tell them things. π«Ά
β¨ and that's the page!! β¨
cute little sign-off: this was MARKBDDNODE(3) from the BDD FUNCTIONS manual, brought to you by ASIM/LIP6, dated October 1, 1997. yeah, 1997. vintage. retro. lowkey a relic and we respect her. ππ
π¦ 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