コード例 #1
0
		public IndividFactory(IStringDistanceCalculator stringDistanceCalculator)
		{
			_stringDistanceCalculator = stringDistanceCalculator;
		}
コード例 #2
0
		public GenerationBuilder(IStringDistanceCalculator stringDistanceCalculator, IChildFactory childFactory)
		{
			_stringDistanceCalculator = stringDistanceCalculator;
			_childFactory = childFactory;
		}
コード例 #3
0
 public void Setup()
 {
     _calculator = new LevenshteinDistanceCalculator();
 }
コード例 #4
0
 public CodeGenerator(IVariationsGenerator variationsGenerator, IStringDistanceCalculator distanceCalculator)
 {
     this.variationsGenerator = variationsGenerator;
     this.distanceCalculator  = distanceCalculator;
 }