jedd
Class Jedd

java.lang.Object
  extended byjedd.Jedd

public class Jedd
extends java.lang.Object


Nested Class Summary
static interface Jedd.Shifter
           
 
Method Summary
 void enableProfiling()
          Starts up the Jedd profiler which records the time taken by each operation.
 void gbc()
          Forces the underlying BDD backend to perform a garbage collection.
 Jedd.Shifter makeShifter(int[] fromBits, int[] toBits)
          Creates a Shifter that can be applied to shift bits within a BDD.
 void outputProfile(java.io.PrintStream stream)
          Outputs the profiling data recorded by the profiler to an SQL file.
 void setBackend(java.lang.String type)
          Sets the BDD backend that Jedd should use.
 void setOrder(java.lang.Object[] order, boolean msbAtTop)
          Sets the physical domain ordering in the BDD.
static Jedd v()
          Returns the singleton instance of Jedd.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

v

public static Jedd v()
Returns the singleton instance of Jedd.


enableProfiling

public void enableProfiling()
Starts up the Jedd profiler which records the time taken by each operation.


outputProfile

public void outputProfile(java.io.PrintStream stream)
                   throws java.io.IOException
Outputs the profiling data recorded by the profiler to an SQL file.

Throws:
java.io.IOException

gbc

public void gbc()
Forces the underlying BDD backend to perform a garbage collection.


setOrder

public void setOrder(java.lang.Object[] order,
                     boolean msbAtTop)
Sets the physical domain ordering in the BDD. The first argument is an array containing the physical domains in the order in which they should appear in the BDD, from the top of the BDD to the bottom (constant nodes). To interleave the bits of several physical domains, place them in a separate array, and then include this array as an element of the main array. The second argument determines the order of bits within each domain. Set it to true to order the bits from most significant to least significant when moving down the BDD from top to bottom, or to false for the opposite order.


setBackend

public void setBackend(java.lang.String type)
Sets the BDD backend that Jedd should use. Currently valid values are "buddy", "cudd", "sablejbdd", and "javabdd".


makeShifter

public Jedd.Shifter makeShifter(int[] fromBits,
                                int[] toBits)
Creates a Shifter that can be applied to shift bits within a BDD.