Changeset 8212 for trunk/sources/HeuristicLab.Optimization/3.3/Algorithms
- Timestamp:
- 07/04/12 13:09:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization/3.3/Algorithms/Algorithm.cs
r8155 r8212 273 273 protected virtual void OnPrepared() { 274 274 ExecutionTime = TimeSpan.Zero; 275 foreach (IStatefulItem statefulObject in this.GetObjectGraphObjects(new HashSet< string>() { "runs"}).OfType<IStatefulItem>()) {275 foreach (IStatefulItem statefulObject in this.GetObjectGraphObjects(new HashSet<object>() { Runs }).OfType<IStatefulItem>()) { 276 276 statefulObject.InitializeState(); 277 277 } … … 294 294 public event EventHandler Stopped; 295 295 protected virtual void OnStopped() { 296 foreach (IStatefulItem statefulObject in this.GetObjectGraphObjects(new HashSet< string>() { "runs"}).OfType<IStatefulItem>()) {296 foreach (IStatefulItem statefulObject in this.GetObjectGraphObjects(new HashSet<object>() { Runs }).OfType<IStatefulItem>()) { 297 297 statefulObject.ClearState(); 298 298 }
Note: See TracChangeset
for help on using the changeset viewer.