Example #1
0
 public BinaryTable(ValueStore store1, ValueStore store2)
 {
     table1.Init();
     table2.Init();
     this.store1 = store1;
     this.store2 = store2;
     // Check();
 }
Example #2
0
        public TernaryTable(ValueStore store1, ValueStore store2, ValueStore store3)
        {
            this.store1 = store1;
            this.store2 = store2;
            this.store3 = store3;

            for (uint i = 0; i < MinSize; i++)
            {
                tuples[i].field1OrNext        = i + 1;
                tuples[i].field2OrEmptyMarker = Tuple.Empty;
            }

            for (uint i = 0; i < MinSize; i++)
            {
                Miscellanea.Assert(tuples[i].field1OrNext == i + 1);
                Miscellanea.Assert(tuples[i].field2OrEmptyMarker == Tuple.Empty);
            }

            index123.Init(MinSize);
            index12.Init(MinSize);
        }
Example #3
0
 public UnaryTable(ValueStore store)
 {
     this.store = store;
 }
Example #4
0
 public ValueStoreUpdater(ValueStore store)
 {
     this.store = store;
 }