GETBDDNODENUM(3)
β¨ NAME β¨
okay so this is getbddnodenum(3) from the BDD FUNCTIONS crew β and it literally just gets the number of nodes in a bdd π
that's it, that's the whole job, and she does it flawlessly.
πΈ ORIGIN πΈ
this software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France π₯β¨ (no cap, Paris fr fr)
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
π¦ SYNOPSIS π¦
#include "bdd101.h"
long getbddnodenum( BddSystem, BddNode )
bddsystem βBddSystem;
bddnode βBddNode;
π PARAMETERS π
BddSystemβ the bdd system, bestie. your whole little universe of nodes.BddNodeβ the bdd node. the main character we're counting around π
π DESCRIPTION π
so getbddnodenum computes the number of different nodes in BddNode, inside the bdd system BddSystem. it's giving census era, honestly.
and if a null pointer is given, the default bdd system is used β she'll just fall back to the default, no drama π«Ά
β RETURN VALUE β
getbddnodenum returns the number of the different nodes reached. that's your number, that's your answer, periodt π₯
π 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,
getbddnodenum( (bddsystem β)0, BddNode ) );
destroybddsystem( (bddsystem β)0 );
destroybddcircuit( (bddcircuit β)0 );
ngl bestie, that last example is exactly how the original prints it β "Number nodes: %ld0, and all π i'm not touching it, we stay loyal to the source π
π§ 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. β so like, pls send feedback, they're literally asking, don't leave them on read π«Άπ
and that's the whole page!! brought to you by ASIM/LIP6, dated October 1, 1997, filed under GETBDDNODENUM(3) β iconic, vintage, still slaying βππ
π¦ 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