public IndividFactory(IStringDistanceCalculator stringDistanceCalculator) { _stringDistanceCalculator = stringDistanceCalculator; }
public GenerationBuilder(IStringDistanceCalculator stringDistanceCalculator, IChildFactory childFactory) { _stringDistanceCalculator = stringDistanceCalculator; _childFactory = childFactory; }
public void Setup() { _calculator = new LevenshteinDistanceCalculator(); }
public CodeGenerator(IVariationsGenerator variationsGenerator, IStringDistanceCalculator distanceCalculator) { this.variationsGenerator = variationsGenerator; this.distanceCalculator = distanceCalculator; }