Changeset 2773 for trunk/sources/HeuristicLab.Core/3.3/Engine.cs
- Timestamp:
- 02/10/10 03:39:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Engine.cs
r2757 r2773 93 93 /// </summary> 94 94 [Storable] 95 private Stack<IExecution Context> executionStack;95 private Stack<IExecutionSequence> executionStack; 96 96 /// <summary> 97 97 /// Gets the current execution stack. 98 98 /// </summary> 99 protected Stack<IExecution Context> ExecutionStack {99 protected Stack<IExecutionSequence> ExecutionStack { 100 100 get { return executionStack; } 101 101 } … … 135 135 protected Engine() { 136 136 globalScope = new Scope("Global"); 137 executionStack = new Stack<IExecution Context>();137 executionStack = new Stack<IExecutionSequence>(); 138 138 OperatorGraph = new OperatorGraph(); 139 139 } … … 151 151 clone.globalScope = (Scope)cloner.Clone(globalScope); 152 152 clone.executionTime = executionTime; 153 IExecution Context[] contexts = executionStack.ToArray();153 IExecutionSequence[] contexts = executionStack.ToArray(); 154 154 for (int i = contexts.Length - 1; i >= 0; i--) 155 clone.executionStack.Push((IExecution Context)cloner.Clone(contexts[i]));155 clone.executionStack.Push((IExecutionSequence)cloner.Clone(contexts[i])); 156 156 clone.running = running; 157 157 clone.canceled = canceled;
Note: See TracChangeset
for help on using the changeset viewer.