Example #1
0
 private void Init()
 {
     algorithm = new UnaryAlgorithm(algoHash = new HashAlgorithm());
 }
Example #2
0
 private void Init(IComparer<DataItem> c, int[] a)
 {
     algoSort = new SortedInput(c, a);
     algorithm = new UnaryAlgorithm(algoSort);
 }
Example #3
0
        private void Init(string pred)
        {
            stExpr = pred;

            algorithm = new UnaryAlgorithm(algoNaive = new Naive(pred));
        }
Example #4
0
        private void Init(Map m, int[] a)
        {
            attrsOrig = new int[a.Length];
            a.CopyTo(attrsOrig, 0);

            algorithm = new UnaryAlgorithm(algoNaive = new Naive(m, a));
        }
Example #5
0
 private void Init()
 {
     algorithm = new UnaryAlgorithm(new HashAlgorithmSum(attrs, val));
 }
Example #6
0
 private void Init()
 {
     algorithm = new UnaryAlgorithm(algoHash = new HashAlgorithmCount(attrs));
 }