Changeset 8738 for trunk/sources/HeuristicLab.Optimization/3.3/BatchRun.cs
- Timestamp:
- 10/04/12 15:42:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization/3.3/BatchRun.cs
r8668 r8738 175 175 repetitions = 10; 176 176 repetitionsCounter = 0; 177 Runs = new RunCollection ();177 Runs = new RunCollection { AlgorithmName = Name }; 178 178 } 179 179 public BatchRun(string name) … … 185 185 repetitions = 10; 186 186 repetitionsCounter = 0; 187 Runs = new RunCollection ();187 Runs = new RunCollection { AlgorithmName = Name }; 188 188 } 189 189 public BatchRun(string name, string description) … … 194 194 repetitions = 10; 195 195 repetitionsCounter = 0; 196 Runs = new RunCollection ();196 Runs = new RunCollection { AlgorithmName = Name }; 197 197 } 198 198 [StorableConstructor] … … 278 278 279 279 #region Events 280 protected override void OnNameChanged() { 281 base.OnNameChanged(); 282 runs.AlgorithmName = Name; 283 } 284 280 285 public event EventHandler ExecutionStateChanged; 281 286 private void OnExecutionStateChanged() {
Note: See TracChangeset
for help on using the changeset viewer.