GETBDDNODESIZE(3)
okay bestie, welcome to the GETBDDNODESIZE(3) page β aka getbddnodesize(3) β from the BDD FUNCTIONS manual. it's giving βsmall function, big main character energy,β and honestly we're obsessed. let's get into it π
β¨
π NAME π
getbddnodesize β gets the number of nodes in a bdd. periodt. π
πΈ ORIGIN πΈ
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of UniversitοΏ½ Pierre and Marie CURIE, in Paris, France. (yes, Paris France β we love a prestigious origin story πβ¨)
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
β¨ SYNOPSIS β¨
#include "bdd101.h"
long getbddnodesize( BddSystem, BddNode )
bddsystem βBddSystem;
bddnode βBddNode;
π PARAMETERS π
BddSystemβ the bdd system. that's the system you're working in, bestie.BddNodeβ the bdd node. the node in question, no cap.
π¦ DESCRIPTION π¦
getbddnodesize computes the total number of nodes in BddNode, in the bdd system BddSystem. If a null pointer is given, the default bdd system is used β so yes, null pointer means default bdd system. slay. π
π RETURN VALUE π
getbddnodesize returns the number of nodes reached. that's the whole return value, no surprises. β¨
π EXAMPLE π
here's the example, copied exactly β yes, even the weird bits, because we don't edit source code in this group chat ππ
#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,
getbddnodesize( (bddsystem β)0, BddNode ) );
destroybddsystem( (bddsystem β)0 );
destroybddcircuit( (bddcircuit β)0 );
π SEE ALSO π
bdd(1)β go see also, bestie. π
π 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, they mean it β send the feedback. π«Ά
cute sign-off: source/version ASIM/LIP6, date October 1, 1997, page GETBDDNODESIZE(3) β bye bestie, mwah ππ
π¦ 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