Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/12/21 08:24:04 (4 years ago)
Author:
chaider
Message:

#3076 Removed unused code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3076_IA_evaluators_analyzers/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/Evaluators/SymbolicRegressionSingleObjectiveConstraintEvaluator.cs

    r17792 r17878  
    1616  [Item("Constraints Evaluator", "Calculates NMSE of a symbolic regression solution with respect to constraints.")]
    1717  [StorableType("27473973-DD8D-4375-997D-942E2280AE8E")]
    18   class SymbolicRegressionSingleObjectiveConstraintEvaluator : SymbolicRegressionSingleObjectiveEvaluator {
     18  public class SymbolicRegressionSingleObjectiveConstraintEvaluator : SymbolicRegressionSingleObjectiveEvaluator {
    1919    #region Parameter/Properties
    2020
     
    2424
    2525    private const string UseSoftConstraintsParameterName = "Use Soft Constraints Evaluation";
    26 
    27     //private const string PenaltyMultiplierParameterName = "Constraints Penalty Multiplier";
    2826
    2927    private const string BoundsEstimatorParameterName = "Bounds estimator";
     
    4038    public IFixedValueParameter<BoolValue> UseSoftConstraintsParameter =>
    4139      (IFixedValueParameter<BoolValue>)Parameters[UseSoftConstraintsParameterName];
    42 
    43     //public IFixedValueParameter<DoubleValue> PenaltyMultiplierParameter =>
    44       //(IFixedValueParameter<DoubleValue>)Parameters[PenaltyMultiplierParameterName];
    4540
    4641    public IValueParameter<IBoundsEstimator> BoundsEstimatorParameter =>
     
    122117          "Define whether the constraints are penalized by soft or hard constraints.", new BoolValue(false)));
    123118      }
    124 
    125       //if (!Parameters.ContainsKey(PenaltyMultiplierParameterName)) {
    126       //  Parameters.Add(new FixedValueParameter<DoubleValue>(PenaltyMultiplierParameterName,
    127       //    "Specify how hard constraints violations should be punished", new DoubleValue(1.0)));
    128       //}
    129119
    130120      if (!Parameters.ContainsKey(BoundsEstimatorParameterName))
Note: See TracChangeset for help on using the changeset viewer.