Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/09/09 00:57:49 (15 years ago)
Author:
swagner
Message:

Refactoring of the operator architecture (#95)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Operator Architecture Refactoring/HeuristicLab.Core/3.3/AtomicOperation.cs

    r1823 r2033  
    7272    /// <param name="clonedObjects">All already cloned objects. (Needed to avoid cycles.)</param>
    7373    /// <returns>The cloned object as <see cref="AtomicOperation"/>.</returns>
    74     public override object Clone(IDictionary<Guid, object> clonedObjects) {
     74    public override object Clone(IDictionary<long, object> clonedObjects) {
    7575      AtomicOperation clone = new AtomicOperation();
    76       clonedObjects.Add(Guid, clone);
     76      clonedObjects.Add(clone.Id, clone);
    7777      clone.myOperator = (IOperator)Auxiliary.Clone(Operator, clonedObjects);
    7878      clone.myScope = (IScope)Auxiliary.Clone(Scope, clonedObjects);
Note: See TracChangeset for help on using the changeset viewer.