Esempio n. 1
0
        public override IUndoableEdit Generate()
        {
            base.Generate();

            List <string> preprocessedData = PreProcessDependencyData();

            AllPairsAlgorithm algorithm = new AllPairsAlgorithm();
            ArrayList         result    = algorithm.generateAllPairsCombinations(preprocessedData);
            //now combine each element of each array
            IList <IList <EquivalenceClass> > patterns = createEquivalenceClassPatterns(result);

            return(CreateCombinationsFromPatterns(patterns, CombinationOrigin.ALLPAIRS));
        }
 private void InitBlock(AllPairsAlgorithm enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }
 public AnonymousClassComparator1(AllPairsAlgorithm enclosingInstance)
 {
     InitBlock(enclosingInstance);
 }