- Timestamp:
- 09/22/09 13:47:46 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Server/3.3/DispatcherView.cs
r2377 r2378 125 125 } 126 126 } 127 } 128 } 129 130 131 private void setAlgorithmDefault_Click(object sender, EventArgs e) { 132 foreach (string targetVar in dispatcher.TargetVariables) { 133 ProblemSpecification spec = dispatcher.GetProblemSpecification(targetVar); 134 spec.LearningTask = selectedSpec.LearningTask; 135 spec.MinTimeOffset = selectedSpec.MinTimeOffset; 136 spec.MaxTimeOffset = selectedSpec.MaxTimeOffset; 137 spec.AutoRegressive = selectedSpec.AutoRegressive; 138 var allowedAlgos = dispatcher.GetAllowedAlgorithms(selectedSpec.TargetVariable); 139 foreach(var algo in allowedAlgos) 140 dispatcher.EnableAlgorithm(spec.TargetVariable, algo); 127 141 } 128 142 } … … 226 240 return y0 > x1; 227 241 } 242 228 243 } 229 244 }
Note: See TracChangeset
for help on using the changeset viewer.