override public void FillAlgorithmFields() { maxNumberTB = new TextBox(); window.algorithmAtributesPanel.Children.Clear(); AlgorithmsAttributes algorithmAttributes = new AlgorithmsAttributes(window); algorithmAttributes.GenerateNewField(this.GetTextBlockText("Maximum number of steps"), maxNumberTB); }
public override void FillAlgorithmFields() { startingTB = new TextBox(); coolingTB = new TextBox(); window.algorithmAtributesPanel.Children.Clear(); AlgorithmsAttributes algorithmAttributes = new AlgorithmsAttributes(window); algorithmAttributes.GenerateNewField(this.GetTextBlockText("Starting temperature"), startingTB); algorithmAttributes.GenerateNewField(this.GetTextBlockText("Cooling factor"), coolingTB); }
public override void FillAlgorithmFields() { sizeTB = new TextBox(); elitismTB = new TextBox(); crossoverTB = new TextBox(); mutationTB = new TextBox(); numberTB = new TextBox(); window.algorithmAtributesPanel.Children.Clear(); AlgorithmsAttributes algorithmAttributes = new AlgorithmsAttributes(window); algorithmAttributes.GenerateNewField(this.GetTextBlockText("Size of single generation"), sizeTB); algorithmAttributes.GenerateNewField(this.GetTextBlockText("Percentage of elitism (0-100)"), elitismTB); algorithmAttributes.GenerateNewField(this.GetTextBlockText("Crossover probability (0-100)"), crossoverTB); algorithmAttributes.GenerateNewField(this.GetTextBlockText("Mutation probability (0-100)"), mutationTB); algorithmAttributes.GenerateNewField(this.GetTextBlockText("Number of generations"), numberTB); }