SWAPBDDVAR(3) BDD FUNCTIONS SWAPBDDVAR(3)NAME
swapbddvar - swaps two contiguous variables.
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "bdd101.h"
void swapbddvar( BddSystem, Variable )
bddsystem *BddSystem;
bddvar Variable;
PARAMETERS
BddSystem The bdd system.
Variable The variable to swap.
DESCRIPTION
swapbddvar swaps the variable number Variable with the variable number Variable + 1, in the bdd system BddSystem. If a null pointer is
given, the default bdd system is used. This function is usefull for the bdd nodes reordering.
RETURN VALUE
swapbddvar returns nothing.
ERRORS
"variable xxx out of range, error !"
The Variable and Variable + 1, must be valid variables number.
EXAMPLE
#include "bdd101.h"
bddsystem *BddSystem;
bddnode *BddNode1;
bddnode *BddNode2;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddNode1 = addbddvar( (bddsystem *)0, 0 );
BddNode2 = addbddvar( (bddsystem *)0, 0 );
swapbddvar( (bddsystem *)0, 0 );
destroybddsystem( (bddsystem *)0 );
SEE ALSO bdd(1)BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 SWAPBDDVAR(3)
Check Out this Related Man Page
ADDBDDVARAFTER(3) BDD FUNCTIONS ADDBDDVARAFTER(3)NAME
addbddvarafter - adds a new variable, after an existing one.
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "bdd101.h"
bddnode *addbddvarafter( BddSystem )
bddsystem *BddSystem;
bddindex Index;
PARAMETERS
BddSystem The bdd system.
Index The bdd index of an existing variable.
DESCRIPTION
addbddvarafter creates a new variable, with the number BddSystem->INDEX_TO_VAR[ Index ] + 1 in the bdd system BddSystem. If a null pointer
is given, the default bdd system is used.
RETURN VALUE
addbddvarafter returns a pointer to the bdd node of the new variable.
ERRORS
"no more variables, error !"
There is no variable number left.
"index xxx out of range, error !"
The Index parameter must be a valid index.
EXAMPLE
#include "bdd101.h"
bddsystem *BddSystem;
bddnode *BddNode1;
bddnode *BddNode2;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddNode1 = addbddvarfirst( (bddsystem *)0 );
BddNode2 = addbddvarafter( (bddsystem *)0, BddNode1->INDEX );
destroybddsystem( (bddsystem *)0 );
SEE ALSO bdd(1)BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 ADDBDDVARAFTER(3)
Hello All,
I am novice on Shell Scripting. Any help on this is highly appreciated.
I have a variable
$VARIABLE="$some1|$some2|$some3"
I need sub variables $SUBVAR1,$SUBVAR2,$SUBVAR3 which must be equal to $some1 , $some2 and $some3 respectively.
It works fine with
$SUBVAR1 =... (6 Replies)
hi,
i want to increment a Variable but it doesnt work.
here my codé
COUNT=1
COUNT= 'expr $COUNT + 1'
i've tried it in the prompt but it print me:
expr: syntaxerror
What does I make wrong? (4 Replies)
Hi,
Could anyone help me in understanding what I am missing..
I have a text file with the following info.
INFILE=>
#Name Variable=<value>
#---------------------------------
name1 inargs="-a Filename1.$VAR.csv -f Filename2.$VAR.csv -c File.c"
name1 ... (4 Replies)
Hello all,
How can i access the value of variable within a variable?
Please go through the following code:
count=0
newstr=aaaa${count}
echo "enter value : "
read $newstr <---- Suppose the value entered by the user is "home"
echo $newstr <---- This will print "aaaa0"... (4 Replies)
Ok, pretty hard to explain but I'll do my best.
Let's say MYVAR content is /home/me then
MYVAR=/home/me
I want to cd to that dir using the MYVAR variable.
Can't do cd $MYVAR even if I echo MYVAR and gives me /home/me.
MYVAR=/home/me
echo $MYVAR
cd $MYVAR
Does not change dir... (7 Replies)
Dear All,
I want to print a file.
First I tried with this
sed '2q;d' filename
it worked. But when i put following it is not working
x=2;
sed '$xq;d' filename
Would any one suggest how to pass the variable? (7 Replies)
Hi,
I've got a small problem.
If varible A stores "B" and Variable B stores C,
How to get the value of variable B by using only Variable A..?
I tried the following but didnt work pease help..
$ var1=vikram
$ echo $var1
vikram
$ vikram=sampath
$ echo $vikram
sampath
$ echo... (6 Replies)
Hi All,
As per my understanding, value of variable is retained outside function.
But the value of array myarrayDriver is not retained outside function. Could you please tell the reason for the same..
code:
readingConfigFile()
{
search_keyword="$1"
i=0
for pointer in $(cat... (7 Replies)
i was wondering is there anyway to take the output of a command and put it into a variable??
what i need to to is only take a certain part of the output that lies between <"data needed ">
---------- Post updated at 09:39 PM ---------- Previous update was at 09:38 PM ----------
and place... (6 Replies)
Hi All,
OS HPUX 11.11
I am using following script to take controlfile backup. I have used SID variable to hold "ffin1" value, which I again subsitute in "'/db/ffin1/home/oraffin1/$SID_$wdate.ctl'" command. Well, after running this, SID variable does not subsittue it's value, while wdate... (6 Replies)
i have a variable that has more than one value. i am declaring another variable, which will have the old variable data one by one. i want to use the second variable to hold the track of all the variable it has parsed from the first one. can somebody help me how do i declare and use the second... (7 Replies)
I want to match exact string stored in Variable INO and print next two lines. I have written below code which partially matches:
awk '/\'$VAR'/{getline; getline; print}'
Will be thankful , if somebody can help in to resolve this problem.
Please view this code tag video for how to use... (9 Replies)
Hello All,
Maybe I'm Missing something here but I have NOOO idea what the heck is going on with this....?
I have a Variable that contains a PATTERN of what I'm considering "Illegal Characters". So what I'm doing is looping
through a string containing some of these "Illegal Characters". Now... (5 Replies)
Hello All,
I was wondering how I can assign a here document facility to a variable. I have tried the following:
menu=$(<<MENU
Option1
Option2
Option3
Option4
MENU
)
...but when I echo the $menu variable, the multiline list comes out in a single line such as:
Option1 Option2 Option3... (14 Replies)