baobab.trace
Class TraceUtil

java.lang.Object
  extended by baobab.trace.TraceUtil

public class TraceUtil
extends java.lang.Object


Method Summary
static BitList[][] addElement(BitList[][] rule, BitList element)
           
static byte[][][] addElement(byte[][][] rule, byte[] element)
           
static BitList[][] addSet(BitList[][] rule, BitList[] set)
           
static byte[][][] addSet(byte[][][] rule, byte[][] set)
           
static byte[] bitSetToBytes(BitList element)
           
static BitList[][] clone(BitList[][] rule)
           
static byte[][][] clone(byte[][][] rule)
           
static int compares(BitList[][] rule1, BitList[][] rule2)
           
static int compares(BitList[] set1, BitList[] set2)
           
static int compares(BitList element1, BitList element2)
           
static int compares(java.util.BitSet element1, java.util.BitSet element2)
           
static int compares(byte[][][] rule1, byte[][][] rule2)
           
static int compares(byte[][] set1, byte[][] set2)
           
static int compares(byte[] element1, byte[] element2)
           
static byte[] condense(byte[] element)
           
static byte[][] condense(byte[][] set)
           
static byte[][][] condense(byte[][][] rule)
           
static boolean equals(BitList[][] rule1, BitList[][] rule2)
           
static boolean equals(BitList[] set1, BitList[] set2)
           
static boolean equals(BitList element1, BitList element2)
           
static boolean equals(byte[][][] rule1, byte[][][] rule2)
           
static boolean equals(byte[][] set1, byte[][] set2)
           
static boolean equals(byte[] element1, byte[] element2)
           
static byte[] expand(byte[] condensed)
           
static byte[][] expand(byte[][] set)
           
static byte[][][] expand(byte[][][] rule)
           
static int height(BitList[][] rule)
           
static int height(byte[][][] rule)
           
static boolean intersects(BitList element1, BitList element2)
           
static boolean intersects(byte[] condensed1, byte[] condensed2)
           
static BitList newBitElement(byte[] elementValues, int nbits)
           
static byte[] newByteElement(byte[] element)
           
static BitList[][] newRule(BitList[] set)
           
static byte[][][] newRule(byte[][] set)
           
static BitList[] newSet(BitList element)
           
static byte[][] newSet(byte[] element)
           
static void printLightTraceRules(java.util.Vector traceRules, int elementSize, int numberOfElements)
           
static java.lang.String toString(BitList element)
           
static java.lang.String toString(BitList[] set)
           
static java.lang.String toString(BitList[][] rule)
           
static java.lang.String toString(byte[] element)
           
static java.lang.String toString(byte[][] set)
           
static java.lang.String toString(byte[][][] rule)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

printLightTraceRules

public static void printLightTraceRules(java.util.Vector traceRules,
                                        int elementSize,
                                        int numberOfElements)

condense

public static byte[] condense(byte[] element)

expand

public static byte[] expand(byte[] condensed)

intersects

public static boolean intersects(byte[] condensed1,
                                 byte[] condensed2)

equals

public static boolean equals(byte[] element1,
                             byte[] element2)

compares

public static int compares(byte[] element1,
                           byte[] element2)

newByteElement

public static byte[] newByteElement(byte[] element)

toString

public static java.lang.String toString(byte[] element)

condense

public static byte[][] condense(byte[][] set)

expand

public static byte[][] expand(byte[][] set)

newSet

public static byte[][] newSet(byte[] element)

equals

public static boolean equals(byte[][] set1,
                             byte[][] set2)

compares

public static int compares(byte[][] set1,
                           byte[][] set2)

toString

public static java.lang.String toString(byte[][] set)

condense

public static byte[][][] condense(byte[][][] rule)

expand

public static byte[][][] expand(byte[][][] rule)

newRule

public static byte[][][] newRule(byte[][] set)

addSet

public static byte[][][] addSet(byte[][][] rule,
                                byte[][] set)

addElement

public static byte[][][] addElement(byte[][][] rule,
                                    byte[] element)

height

public static int height(byte[][][] rule)

equals

public static boolean equals(byte[][][] rule1,
                             byte[][][] rule2)

compares

public static int compares(byte[][][] rule1,
                           byte[][][] rule2)

clone

public static byte[][][] clone(byte[][][] rule)

toString

public static java.lang.String toString(byte[][][] rule)

bitSetToBytes

public static byte[] bitSetToBytes(BitList element)

intersects

public static boolean intersects(BitList element1,
                                 BitList element2)

equals

public static boolean equals(BitList element1,
                             BitList element2)

compares

public static int compares(BitList element1,
                           BitList element2)

compares

public static int compares(java.util.BitSet element1,
                           java.util.BitSet element2)

newBitElement

public static BitList newBitElement(byte[] elementValues,
                                    int nbits)

toString

public static java.lang.String toString(BitList element)

newSet

public static BitList[] newSet(BitList element)

equals

public static boolean equals(BitList[] set1,
                             BitList[] set2)

compares

public static int compares(BitList[] set1,
                           BitList[] set2)

toString

public static java.lang.String toString(BitList[] set)

newRule

public static BitList[][] newRule(BitList[] set)

addSet

public static BitList[][] addSet(BitList[][] rule,
                                 BitList[] set)

addElement

public static BitList[][] addElement(BitList[][] rule,
                                     BitList element)

height

public static int height(BitList[][] rule)

equals

public static boolean equals(BitList[][] rule1,
                             BitList[][] rule2)

compares

public static int compares(BitList[][] rule1,
                           BitList[][] rule2)

clone

public static BitList[][] clone(BitList[][] rule)

toString

public static java.lang.String toString(BitList[][] rule)