Changeset 14336 for branches/HeuristicLab.GoalSeekingProblem
- Timestamp:
- 10/17/16 11:04:19 (8 years ago)
- Location:
- branches/HeuristicLab.GoalSeekingProblem
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.GoalSeekingProblem/HeuristicLab.GoalSeekingProblem.Views/3.4/InputParameterView.cs
r14333 r14336 92 92 private void maxTextBox_TextChanged(object sender, EventArgs e) { 93 93 double max; 94 if (double.TryParse(m inTextBox.Text, out max))94 if (double.TryParse(maxTextBox.Text, out max)) 95 95 Content.Max = max; 96 96 } … … 98 98 private void stepTextBox_TextChanged(object sender, EventArgs e) { 99 99 double step; 100 if (double.TryParse( minTextBox.Text, out step))100 if (double.TryParse(stepTextBox.Text, out step)) 101 101 Content.Step = step; 102 102 } … … 104 104 private void valueTextBox_TextChanged(object sender, EventArgs e) { 105 105 double value; 106 if (double.TryParse( minTextBox.Text, out value))106 if (double.TryParse(valueTextBox.Text, out value)) 107 107 Content.Value = value; 108 108 } -
branches/HeuristicLab.GoalSeekingProblem/HeuristicLab.GoalSeekingProblem/3.4/GoalSeekingUtil.cs
r14333 r14336 90 90 var goalMap = goals.ToDictionary(x => x.Name, x => x); 91 91 92 foreach (var variable in problemData. AllowedInputVariables) {92 foreach (var variable in problemData.Dataset.DoubleVariables) { 93 93 if (inputMap.ContainsKey(variable)) { 94 94 var values = problemData.Dataset.GetReadOnlyDoubleValues(variable); … … 101 101 } 102 102 input.Min = min; 103 input.M in= max;103 input.Max = max; 104 104 } else if (goalMap.ContainsKey(variable)) { 105 105 var values = problemData.Dataset.GetReadOnlyDoubleValues(variable); -
branches/HeuristicLab.GoalSeekingProblem/HeuristicLab.GoalSeekingProblem/3.4/MultiObjectiveGoalSeekingProblem.cs
r14334 r14336 161 161 SolutionCreatorParameter.Hidden = true; 162 162 MaximizationParameter.Hidden = true; 163 GoalSeekingUtil.UpdateInputs(InputsParameter.Value, Models, InputParameterChanged);164 Encoding = GoalSeekingUtil.CreateEncoding(ActiveInputs);165 dataset = new ModifiableDataset(Inputs.Select(x => x.Name), Inputs.Select(x => new List<double> { x.Value }));166 GoalSeekingUtil.UpdateTargets(GoalsParameter.Value, Models, GoalParameterChanged);167 163 RegisterEvents(); 168 164 } -
branches/HeuristicLab.GoalSeekingProblem/HeuristicLab.GoalSeekingProblem/3.4/Properties/AssemblyInfo.cs
r14333 r14336 54 54 // [assembly: AssemblyVersion("1.0.*")] 55 55 [assembly: AssemblyVersion("3.3.0.0")] 56 [assembly: AssemblyFileVersion("3.3.11.143 25")]56 [assembly: AssemblyFileVersion("3.3.11.14334")] -
branches/HeuristicLab.GoalSeekingProblem/HeuristicLab.GoalSeekingProblem/3.4/SingleObjectiveGoalSeekingProblem.cs
r14334 r14336 143 143 EvaluatorParameter.Hidden = true; 144 144 SolutionCreatorParameter.Hidden = true; 145 GoalSeekingUtil.UpdateInputs(InputsParameter.Value, Models, InputParameterChanged);146 Encoding = GoalSeekingUtil.CreateEncoding(ActiveInputs);147 dataset = new ModifiableDataset(Inputs.Select(x => x.Name), Inputs.Select(x => new List<double> { x.Value }));148 GoalSeekingUtil.UpdateTargets(GoalsParameter.Value, Models, GoalParameterChanged);149 145 RegisterEvents(); 150 146 }
Note: See TracChangeset
for help on using the changeset viewer.