Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3140


Ignore:
Timestamp:
03/20/10 09:08:28 (15 years ago)
Author:
abeham
Message:

fixed tabu selector not finding copy selected #840

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSelector.cs

    r3132 r3140  
    7373    }
    7474
     75    public BoolValue CopySelected {
     76      get { return CopySelectedParameter.Value; }
     77      set { CopySelectedParameter.Value = value; }
     78    }
     79
    7580    /// <summary>
    7681    /// Initializes a new intsance with 6 parameters (<c>Quality</c>, <c>BestQuality</c>,
     
    8489      Parameters.Add(new SubScopesLookupParameter<DoubleValue>("MoveQuality", "The quality of the move."));
    8590      Parameters.Add(new SubScopesLookupParameter<BoolValue>("MoveTabu", "The tabu status of the move."));
    86       Parameters.Add(new ValueLookupParameter<BoolValue>("CopySelected", "True if the selected move should be copied."));
     91      Parameters.Add(new ValueLookupParameter<BoolValue>("CopySelected", "True if the selected move should be copied.", new BoolValue(false)));
    8792    }
    8893
Note: See TracChangeset for help on using the changeset viewer.