Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12144 for trunk


Ignore:
Timestamp:
03/05/15 15:53:02 (10 years ago)
Author:
mkommend
Message:

#2321: Removed trailing white space in DominateOnEqualQualities parameter name.

Location:
trunk/sources/HeuristicLab.Optimization.Operators/3.3/MultiObjective
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Operators/3.3/MultiObjective/FastNonDominatedSort.cs

    r12123 r12144  
    4646    }
    4747    public IValueLookupParameter<BoolValue> DominateOnEqualQualitiesParameter {
    48       get { return (ValueLookupParameter<BoolValue>)Parameters["DominateOnEqualQualities "]; }
     48      get { return (ValueLookupParameter<BoolValue>)Parameters["DominateOnEqualQualities"]; }
    4949    }
    5050    public IScopeTreeLookupParameter<DoubleArray> QualitiesParameter {
     
    6161    public FastNonDominatedSort() {
    6262      Parameters.Add(new ValueLookupParameter<BoolArray>("Maximization", "Whether each objective is maximization or minimization."));
    63       Parameters.Add(new ValueLookupParameter<BoolValue>("DominateOnEqualQualities ", "Flag which determines wether solutions with equal quality values should be treated as dominated."));
     63      Parameters.Add(new ValueLookupParameter<BoolValue>("DominateOnEqualQualities", "Flag which determines wether solutions with equal quality values should be treated as dominated."));
    6464      Parameters.Add(new ScopeTreeLookupParameter<DoubleArray>("Qualities", "The qualities of a solution.", 1));
    6565      Parameters.Add(new ScopeTreeLookupParameter<IntValue>("Rank", "The rank of a solution.", 1));
     
    173173      // BackwardsCompatibility3.3
    174174      #region Backwards compatible code, remove with 3.4
    175       if (!Parameters.ContainsKey("DominateOnEqualQualities "))
    176         Parameters.Add(new ValueLookupParameter<BoolValue>("DominateOnEqualQualities ", "Flag which determines wether solutions with equal quality values should be treated as dominated."));
     175      if (!Parameters.ContainsKey("DominateOnEqualQualities"))
     176        Parameters.Add(new ValueLookupParameter<BoolValue>("DominateOnEqualQualities", "Flag which determines wether solutions with equal quality values should be treated as dominated."));
    177177      #endregion
    178178    }
  • trunk/sources/HeuristicLab.Optimization.Operators/3.3/MultiObjective/RankAndCrowdingSorter.cs

    r12123 r12144  
    4444    }
    4545    public IValueLookupParameter<BoolValue> DominateOnEqualQualitiesParameter {
    46       get { return (ValueLookupParameter<BoolValue>)Parameters["DominateOnEqualQualities "]; }
     46      get { return (ValueLookupParameter<BoolValue>)Parameters["DominateOnEqualQualities"]; }
    4747    }
    4848    #endregion
     
    5454      : base() {
    5555      Parameters.Add(new ValueLookupParameter<BoolArray>("Maximization", "For each objective a value that is true if that objective should be maximized, or false if it should be minimized."));
    56       Parameters.Add(new ValueLookupParameter<BoolValue>("DominateOnEqualQualities ", "Flag which determines wether solutions with equal quality values should be treated as dominated."));
     56      Parameters.Add(new ValueLookupParameter<BoolValue>("DominateOnEqualQualities", "Flag which determines wether solutions with equal quality values should be treated as dominated."));
    5757      Parameters.Add(new ScopeTreeLookupParameter<DoubleArray>("Qualities", "The vector of quality values."));
    5858      Parameters.Add(new ScopeTreeLookupParameter<IntValue>("Rank", "The rank of a solution (to which front it belongs)."));
     
    9393      // BackwardsCompatibility3.3
    9494      #region Backwards compatible code, remove with 3.4
    95       if (!Parameters.ContainsKey("DominateOnEqualQualities "))
    96         Parameters.Add(new ValueLookupParameter<BoolValue>("DominateOnEqualQualities ", "Flag which determines wether solutions with equal quality values should be treated as dominated."));
     95      if (!Parameters.ContainsKey("DominateOnEqualQualities"))
     96        Parameters.Add(new ValueLookupParameter<BoolValue>("DominateOnEqualQualities", "Flag which determines wether solutions with equal quality values should be treated as dominated."));
    9797      #endregion
    9898    }
Note: See TracChangeset for help on using the changeset viewer.