Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/31/10 14:26:45 (15 years ago)
Author:
gkronber
Message:

Extracted view for artificial ant problem into a separate plugin/project. #952 (Artificial Ant Problem for 3.3)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/PathTSPTour.cs

    r3158 r3239  
    8282    public event EventHandler CoordinatesChanged;
    8383    private void OnCoordinatesChanged() {
    84       if (CoordinatesChanged != null)
    85         CoordinatesChanged(this, EventArgs.Empty);
     84      var changed = CoordinatesChanged;
     85      if (changed != null)
     86        changed(this, EventArgs.Empty);
    8687    }
    8788    public event EventHandler PermutationChanged;
    8889    private void OnPermutationChanged() {
    89       if (PermutationChanged != null)
    90         PermutationChanged(this, EventArgs.Empty);
     90      var changed = PermutationChanged;
     91      if (changed != null)
     92        changed(this, EventArgs.Empty);
    9193    }
    9294
Note: See TracChangeset for help on using the changeset viewer.