Changeset 9408
- Timestamp:
- 04/30/13 10:57:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.GradientDescent/3.3/Lbfgs.cs
r9128 r9408 201 201 202 202 private void RegisterSolutionCreatorEvents() { 203 var realVectorCreator = Problem.SolutionCreator as RealVectorCreator;203 var realVectorCreator = Problem.SolutionCreator as IRealVectorCreator; 204 204 // ignore if we have a different kind of problem 205 205 if (realVectorCreator != null) { … … 214 214 215 215 protected override void OnStarted() { 216 var realVectorCreator = Problem.SolutionCreator as RealVectorCreator;216 var realVectorCreator = Problem.SolutionCreator as IRealVectorCreator; 217 217 // must catch the case that user loaded an unsupported problem 218 218 if (realVectorCreator == null) … … 226 226 227 227 private void ParameterizeOperators() { 228 var realVectorCreator = Problem.SolutionCreator as RealVectorCreator;228 var realVectorCreator = Problem.SolutionCreator as IRealVectorCreator; 229 229 // ignore if we have a different kind of problem 230 230 if (realVectorCreator != null) {
Note: See TracChangeset
for help on using the changeset viewer.