Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/14/15 18:06:01 (8 years ago)
Author:
ascheibe
Message:

#2205

  • fixed another deserialization bug
  • AlgorithmNode: made locker object protected so that inherited classes that override the Execute method can use it
  • Improved responsiveness of ProgrammableItemView
Location:
branches/OptimizationNetworks/HeuristicLab.Networks/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/OptimizationNetworks/HeuristicLab.Networks/3.3/AlgorithmNode.cs

    r11713 r13459  
    2020#endregion
    2121
     22using System;
     23using System.Collections.Generic;
     24using System.Linq;
     25using System.Threading;
    2226using HeuristicLab.Common;
    2327using HeuristicLab.Core;
     
    2630using HeuristicLab.Optimization;
    2731using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    28 using System;
    29 using System.Collections.Generic;
    30 using System.Linq;
    31 using System.Threading;
    3232
    3333namespace HeuristicLab.Networks {
     
    3535  [StorableClass]
    3636  public class AlgorithmNode : Node, IAlgorithmNode {
    37     private object locker = new object();
     37    protected object locker = new object();
    3838
    3939    new public PortCollection Ports {
  • branches/OptimizationNetworks/HeuristicLab.Networks/3.3/Core/Network.cs

    r11577 r13459  
    2020#endregion
    2121
    22 using HeuristicLab.Common;
    23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2422using System.Collections.Generic;
    2523using System.Drawing;
    2624using System.Linq;
     25using HeuristicLab.Common;
     26using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2727
    2828namespace HeuristicLab.Core.Networks {
     
    8484    [StorableHook(HookType.AfterDeserialization)]
    8585    private void AfterDeserialization() {
    86       foreach (var n in Nodes)
     86      foreach (var n in Nodes.ToList())
    8787        n.Parent = this;
    8888      RegisterNodesEvents();
Note: See TracChangeset for help on using the changeset viewer.