Changeset 10128 for branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.SolutionCaching/3.3/RunCollectionModifiers/RunCollectionModifierExecutable.cs
- Timestamp:
- 11/12/13 13:03:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.SolutionCaching/3.3/RunCollectionModifiers/RunCollectionModifierExecutable.cs
r10121 r10128 113 113 return new RunCollectionModifierExecutable(this, cloner); 114 114 } 115 116 //special cloning which ignores the RunCollection and the execution stack 117 public RunCollectionModifierExecutable CloneWithoutRuns() { 118 var clone = new RunCollectionModifierExecutable(); 119 clone.executionTime = executionTime; 120 clone.executionState = executionState; 121 clone.log = (ILog)log.Clone(new Cloner()); 122 clone.RunCollectionModifiersParameter.Value = (ItemList<IRunCollectionModifier>)RunCollectionModifiers.Clone(new Cloner()); 123 return clone; 124 } 115 125 #endregion 116 126 … … 198 208 executionStack.Push(next); 199 209 if (ex is OperationCanceledException) throw ex; 200 else throw new Exception("IRunCollectionModifier " + next + " threw an exception.", ex);210 else throw new Exception("IRunCollectionModifier " + next + " threw an exception.", ex); 201 211 } 202 212 finally {
Note: See TracChangeset
for help on using the changeset viewer.