Exemplo n.º 1
0
 public SnapshotMethodGenerator(IAbstractSyntaxTreeMethodExtractor extractor, ILineFilter filter, IAbstractSyntaxTreeMetricCreator abstractSyntaxTreeMetricCreator, IBagOfWordsMetricCreator bagOfWordsMetricCreator)
 {
     Extractor = extractor;
     Filter    = filter;
     AbstractSyntaxTreeMetricCreator = abstractSyntaxTreeMetricCreator;
     BagOfWordsMetricCreator         = bagOfWordsMetricCreator;
 }
Exemplo n.º 2
0
 public AssignmentGenerator(IRepository <PreAssignment, int> preAssignmentRepository, IAbstractSyntaxTreeGenerator abstractSyntaxTreeGenerator, IAbstractSyntaxTreeClassExtractor abstractSyntaxTreeClassExtractor, IAbstractSyntaxTreeMethodExtractor abstractSyntaxTreeMethodExtractor, IUnitTestGenerator unitTestGenerator)
 {
     PreAssignmentRepository           = preAssignmentRepository;
     AbstractSyntaxTreeGenerator       = abstractSyntaxTreeGenerator;
     AbstractSyntaxTreeClassExtractor  = abstractSyntaxTreeClassExtractor;
     AbstractSyntaxTreeMethodExtractor = abstractSyntaxTreeMethodExtractor;
     UnitTestGenerator = unitTestGenerator;
 }
Exemplo n.º 3
0
 public MarkovModelGenerator(ILineFilter lineFilter, IAbstractSyntaxTreeGenerator abstractSyntaxTreeGenerator,
                             IAbstractSyntaxTreeClassExtractor abstractSyntaxTreeClassExtractor, IAbstractSyntaxTreeMetricCreator abstractSyntaxTreeMetricCreator,
                             IBagOfWordsMetricCreator bagOfWordsMetricCreator, IRepository <MarkovModel, int> markovModelRepository,
                             IAbstractSyntaxTreeMethodExtractor abstractSyntaxTreeMethodExtractor,
                             IMarkovModelCreator markovModelCreator)
 {
     LineFilter = lineFilter;
     AbstractSyntaxTreeGenerator       = abstractSyntaxTreeGenerator;
     AbstractSyntaxTreeClassExtractor  = abstractSyntaxTreeClassExtractor;
     AbstractSyntaxTreeMetricCreator   = abstractSyntaxTreeMetricCreator;
     AbstractSyntaxTreeMethodExtractor = abstractSyntaxTreeMethodExtractor;
     BagOfWordsMetricCreator           = bagOfWordsMetricCreator;
     MarkovModelCreator    = markovModelCreator;
     MarkovModelRepository = markovModelRepository;
 }