Ignore:
Timestamp:
03/12/21 08:24:04 (18 months 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/MultiObjective/SymbolicRegressionMultiObjectiveMultiSoftConstraintEvaluator.cs

    r17794 r17878  
    177177        nmse = 1.0;
    178178
    179 
    180179      var objectives = new List<double> {nmse};
    181       ////var intervalInterpreter = new IntervalInterpreter() {UseIntervalSplitting = splitting};
    182 
    183       //var constraintObjectives = new List<double>();
    184       //foreach (var c in constraints) {
    185       //  var penalty = ConstraintExceeded(c, intervalInterpreter, variableRanges,
    186       //    solution);
    187       //  var maxP = 0.1;
    188 
    189       //  if (double.IsNaN(penalty) || double.IsInfinity(penalty) || penalty > maxP)
    190       //    penalty = maxP;
    191 
    192       //  constraintObjectives.Add(penalty);
    193       //}
    194 
    195       //objectives.AddRange(constraintObjectives);
    196 
    197       //return objectives.ToArray();
    198 
    199180      var results = IntervalUtil.IntervalConstraintsViolation(constraints, estimator, intervalCollection, solution);
    200181      foreach (var result in results) {
Note: See TracChangeset for help on using the changeset viewer.