delbddcircuitout(3)

delbddcircuitout3

Deletes an output in a bdd circuit.

Synopsys

#include "bdd101.h"
int delbddcircuitout( BddCircuit, OutputName )
  bddcircuit ∗BddCircuit;
  char       ∗OutputName;

Parameters

BddCircuit

The bdd circuit.

OutputName

The name of the output to delete.

Overview

delbddcircuitout deletes the output OutputName in the bdd circuit BddCircuit. If a null pointer is given, the default bdd circuit is used. If the output OutputName exists, the number of external reference of the output node is decremented.

Return value

delbddcircuitout returns 1 if the output OutputName exist, 0 otherwise.

Examples

#include "bdd101.h"
   bddsystem  ∗BddSystem;
   bddcircuit ∗BddCircuit;
   bddnode    ∗BddNode;
   BddSystem  = createbddsystem( 100, 1000, 100, 50000 );
   BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
   ...
   addbddcircuitout( (bddcircuit ∗)0, "Out0", BddNode );
   ...
   delbddcircuitout( (bddcircuit ∗)0, "Out0" );
   destroybddsystem( (bddsystem ∗)0 );
   destroybddcircuit( (bddcircuit ∗)0 );

Releases

4 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–8
  2. 9–10

From alliance 5.1.1-3 in Debian 10 (Buster). Parsed by carta from the page's man source.