Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/10/10 03:39:02 (14 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • worked on parameters and operators
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/Engine.cs

    r2757 r2773  
    9393    /// </summary>
    9494    [Storable]
    95     private Stack<IExecutionContext> executionStack;
     95    private Stack<IExecutionSequence> executionStack;
    9696    /// <summary>
    9797    /// Gets the current execution stack.
    9898    /// </summary>
    99     protected Stack<IExecutionContext> ExecutionStack {
     99    protected Stack<IExecutionSequence> ExecutionStack {
    100100      get { return executionStack; }
    101101    }
     
    135135    protected Engine() {
    136136      globalScope = new Scope("Global");
    137       executionStack = new Stack<IExecutionContext>();
     137      executionStack = new Stack<IExecutionSequence>();
    138138      OperatorGraph = new OperatorGraph();
    139139    }
     
    151151      clone.globalScope = (Scope)cloner.Clone(globalScope);
    152152      clone.executionTime = executionTime;
    153       IExecutionContext[] contexts = executionStack.ToArray();
     153      IExecutionSequence[] contexts = executionStack.ToArray();
    154154      for (int i = contexts.Length - 1; i >= 0; i--)
    155         clone.executionStack.Push((IExecutionContext)cloner.Clone(contexts[i]));
     155        clone.executionStack.Push((IExecutionSequence)cloner.Clone(contexts[i]));
    156156      clone.running = running;
    157157      clone.canceled = canceled;
Note: See TracChangeset for help on using the changeset viewer.