- Timestamp:
- 07/03/12 16:46:35 (12 years ago)
- Location:
- branches/GP-MoveOperators
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-MoveOperators
- Property svn:mergeinfo changed
/trunk/sources merged: 8084,8088-8090,8092-8100,8102-8113,8115,8117-8132,8134-8146,8148-8156,8158-8160,8163-8170,8173-8176,8178-8190,8192-8205
- Property svn:mergeinfo changed
-
branches/GP-MoveOperators/HeuristicLab.Optimization/3.3/Algorithms/Algorithm.cs
r7706 r8206 272 272 public event EventHandler Prepared; 273 273 protected virtual void OnPrepared() { 274 ExecutionState = ExecutionState.Prepared;275 274 ExecutionTime = TimeSpan.Zero; 276 275 foreach (IStatefulItem statefulObject in this.GetObjectGraphObjects(new HashSet<string>() { "runs" }).OfType<IStatefulItem>()) { 277 276 statefulObject.InitializeState(); 278 277 } 278 ExecutionState = ExecutionState.Prepared; 279 279 EventHandler handler = Prepared; 280 280 if (handler != null) handler(this, EventArgs.Empty); … … 294 294 public event EventHandler Stopped; 295 295 protected virtual void OnStopped() { 296 ExecutionState = ExecutionState.Stopped;297 296 foreach (IStatefulItem statefulObject in this.GetObjectGraphObjects(new HashSet<string>() { "runs" }).OfType<IStatefulItem>()) { 298 297 statefulObject.ClearState(); … … 300 299 runsCounter++; 301 300 runs.Add(new Run(string.Format("{0} Run {1}", Name, runsCounter), this)); 301 ExecutionState = ExecutionState.Stopped; 302 302 EventHandler handler = Stopped; 303 303 if (handler != null) handler(this, EventArgs.Empty);
Note: See TracChangeset
for help on using the changeset viewer.