Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/25/08 14:46:58 (16 years ago)
Author:
gkronber
Message:

performance tuning of functions framework by removing the need for calling Activator in StorableBase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Functions/Or.cs

    r189 r192  
    6666      return 0.0;
    6767    }
     68
     69    public override object Clone(IDictionary<Guid, object> clonedObjects) {
     70      OrFunctionTree clone = new OrFunctionTree();
     71      clonedObjects.Add(clone.Guid, clone);
     72      FillClone(clone, clonedObjects);
     73      return clone;
     74    }
    6875  }
    6976}
Note: See TracChangeset for help on using the changeset viewer.