Changeset 14334 for branches/HeuristicLab.GoalSeekingProblem
- Timestamp:
- 10/14/16 16:38:46 (8 years ago)
- Location:
- branches/HeuristicLab.GoalSeekingProblem/HeuristicLab.GoalSeekingProblem/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.GoalSeekingProblem/HeuristicLab.GoalSeekingProblem/3.4/MultiObjectiveGoalSeekingProblem.cs
r14333 r14334 163 163 GoalSeekingUtil.UpdateInputs(InputsParameter.Value, Models, InputParameterChanged); 164 164 Encoding = GoalSeekingUtil.CreateEncoding(ActiveInputs); 165 dataset = new ModifiableDataset(Inputs.Select(x => x.Name), Inputs.Select(x => new List<double> { x.Value })); 165 166 GoalSeekingUtil.UpdateTargets(GoalsParameter.Value, Models, GoalParameterChanged); 166 167 RegisterEvents(); … … 262 263 GoalSeekingUtil.UpdateInputs(InputsParameter.Value, Models, InputParameterChanged); 263 264 Encoding = GoalSeekingUtil.CreateEncoding(ActiveInputs); 265 dataset = new ModifiableDataset(Inputs.Select(x => x.Name), Inputs.Select(x => new List<double> { x.Value })); 264 266 GoalSeekingUtil.UpdateTargets(GoalsParameter.Value, Models, GoalParameterChanged); 265 267 GoalSeekingUtil.RaiseEvent(this, ModelsChanged); -
branches/HeuristicLab.GoalSeekingProblem/HeuristicLab.GoalSeekingProblem/3.4/SingleObjectiveGoalSeekingProblem.cs
r14333 r14334 145 145 GoalSeekingUtil.UpdateInputs(InputsParameter.Value, Models, InputParameterChanged); 146 146 Encoding = GoalSeekingUtil.CreateEncoding(ActiveInputs); 147 dataset = new ModifiableDataset(Inputs.Select(x => x.Name), Inputs.Select(x => new List<double> { x.Value })); 147 148 GoalSeekingUtil.UpdateTargets(GoalsParameter.Value, Models, GoalParameterChanged); 148 149 RegisterEvents(); … … 177 178 GoalSeekingUtil.UpdateInputs(InputsParameter.Value, Models, InputParameterChanged); 178 179 Encoding = GoalSeekingUtil.CreateEncoding(ActiveInputs); 180 dataset = new ModifiableDataset(Inputs.Select(x => x.Name), Inputs.Select(x => new List<double> { x.Value })); 179 181 GoalSeekingUtil.UpdateTargets(GoalsParameter.Value, Models, GoalParameterChanged); 180 182 GoalSeekingUtil.RaiseEvent(this, ModelsChanged);
Note: See TracChangeset
for help on using the changeset viewer.