|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMtbdd.Mtbdd
public class Mtbdd
Mtbdd
This class will be used to import functions from the CUDD library onto the JAVA program.
Copyright(c) 2005 Université Laval, LSFM research group.
Constructor Summary | |
---|---|
Mtbdd()
Constructor without parameter... initialize a new manager. |
Method Summary | |
---|---|
void |
dessine(int man,
java.lang.String str,
int t)
Creates a file named Mtbdd.txt for reading with DaVinci. |
int |
estNulle(int manager,
int transition)
Check wether or not a transition of the MTBDD has a null value |
int |
eval(int manager,
int transitions,
int[] tab)
Evaluate the MTBDD, returns the repartition function's number |
int |
existeAct(int manager,
int transitions,
int action)
Determines if there is an transition with the specified action attached. |
int |
existeTransition(int manager,
int transitions,
int tt)
Determines wether or not the transition is part of the transition array. |
int |
faireET(int manager,
int transitions,
int tt)
Apply a logical AND to two MTBDDs. |
int |
faireMtbdd(int man,
int[] tab,
int taille,
int valeurFeuille)
Build the MTBDD from the corresponding parameters |
int |
faireNON(int manager,
int tt)
Returns the negation of the MTBDD. |
int |
faireOU(int manager,
int transitions,
int tt)
Apply a logical OR of two MTBBDs. |
void |
gcOff(int manager)
Desactivates the garbage collector for the specified manager. |
void |
gcOn(int manager)
Activates the garbage collector for the specified manager. |
int |
getComplementVar(int manager,
int n)
Returns the complement of a variable. |
int |
getManager()
Returns the integer representing the manager. |
int |
initialise()
Initialize the MTBDD structures |
void |
libere(int man,
int trans)
Release the memory used by the system |
int |
nbGc(int manager)
Returns the number of calls made to the garbage collector. |
void |
quit(int manager)
Terminates the manager. |
void |
quitter()
Terminates the manager associated with the system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mtbdd()
Method Detail |
---|
public int initialise()
public void dessine(int man, java.lang.String str, int t)
man
- represents the manager.str
- Stringt
- intpublic int faireMtbdd(int man, int[] tab, int taille, int valeurFeuille)
man
- inttab
- int[]taille
- intvaleurFeuille
- value representing the leaves.
public int faireOU(int manager, int transitions, int tt)
manager
- inttransitions
- inttt
- int
public void libere(int man, int trans)
man
- inttrans
- intpublic int estNulle(int manager, int transition)
manager
- inttransition
- int
public int eval(int manager, int transitions, int[] tab)
manager
- inttransitions
- inttab
- int[]
public int existeAct(int manager, int transitions, int action)
manager
- inttransitions
- intaction
- int
public int existeTransition(int manager, int transitions, int tt)
manager
- inttransitions
- inttt
- int
public int faireET(int manager, int transitions, int tt)
manager
- inttransitions
- inttt
- int
public int faireNON(int manager, int tt)
manager
- inttt
- int
public int getComplementVar(int manager, int n)
manager
- intn
- int
public void quit(int manager)
manager
- intpublic void gcOn(int manager)
manager
- the manager for which to activate the garbage collector.public void gcOff(int manager)
manager
- the manager for which to desactivate the garbage collector.public int nbGc(int manager)
manager
- int
public int getManager()
public void quitter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |