Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/11/10 02:23:25 (14 years ago)
Author:
abeham
Message:

Updated tabu search and added an engine for the berlin52 TSP #840
Also added a BestQualityMemorizer operator in HeuristicLab.Analysis-3.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.Permutation/3.3/Permutation.cs

    r2994 r2997  
    8585    }
    8686
     87    public int GetCircular(int position) {
     88      if (position >= Length) position = position % Length;
     89      while (position < 0) position += Length;
     90      return this[position];
     91    }
     92
    8793    #region IStringConvertibleArrayData Members
    8894    int IStringConvertibleArrayData.Length {
Note: See TracChangeset for help on using the changeset viewer.