try to work on memory usage...have large test case running now
[IRC.git] / Robust / src / Benchmarks / SingleTM / Bayes / AdtreeNode.java
1 /**
2  * Author: Alokika Dash
3  * University of California, Irvine
4  * adash@uci.edu
5  *
6  * - Helper class of Adtree.java
7  **/
8 public class AdtreeNode {
9   int index;
10   int value;
11   int count;
12   AdtreeVary varyVectorPtr[];
13
14   public AdtreeNode() {
15
16   }
17
18   /* =============================================================================
19    * allocNode
20    * =============================================================================
21    */
22   public AdtreeNode(int index, int vecsize) {
23     this.varyVectorPtr = new AdtreeVary[vecsize];
24     this.index = index;
25     this.value = -1;
26     this.count = -1;
27   }
28 }