DOKK / manpages / debian 10 / alliance / getbddvarnodebyindex.3.en
GETBDDVARNODEBYINDEX(3) BDD FUNCTIONS GETBDDVARNODEBYINDEX(3)

getbddvarnode - gives the bdd node of a variable.

See the file buster/alliance/alc_origin.1.en.gz.

#include "bdd101.h"
bddnode ∗getbddvarnodebyindex( BddSystem, Index )

bddsystem ∗BddSystem;
bddindex Index;

The bdd system.
The bdd index.

getbddvarnode gives the bdd node of the bdd index Index, in the bdd system BddSystem. If a null pointer is given, the default bdd system is used. The function uses simply the table BddSystem->VAR_NODE.

getbddvarnode returns a pointer to the variable bdd node.

"index xxx out of range, error !"

The Index parameter must be a valid index.

#include "bdd101.h"

bddsystem ∗BddSystem;
bddnode ∗BddNode;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
addbddvar( (bddsystem ∗)0, 0 );
BddNode = getbddvarnodebyindex( (bddsystem ∗)0, 2 );
...
destroybddsystem( (bddsystem ∗)0 );

bdd(1)

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6