Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/20/20 22:21:24 (4 years ago)
Author:
chaider
Message:

#3076 Added Splitting-Parameter

File:
1 edited

Legend:

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

    r17735 r17751  
    191191      // calculate result interval
    192192      if (!constraint.IsDerivative) {
    193         resultInterval = intervalInterpreter.GetSymbolicExpressionTreeInterval(solution, new ReadOnlyDictionary<string, Interval>(regionRanges));
     193        resultInterval = intervalInterpreter.GetSymbolicExpressionTreeInterval(solution, new ReadOnlyDictionary<string, Interval>(regionRanges), 0);
    194194      }
    195195      else {
     
    201201        }
    202202
    203         resultInterval = intervalInterpreter.GetSymbolicExpressionTreeInterval(tree, new ReadOnlyDictionary<string, Interval>(regionRanges));
     203        resultInterval = intervalInterpreter.GetSymbolicExpressionTreeInterval(tree, new ReadOnlyDictionary<string, Interval>(regionRanges), 0);
    204204      }
    205205
     
    226226    public static bool ConstraintsSatisfied(IEnumerable<IntervalConstraint> constraints,
    227227                                            IReadOnlyDictionary<string, Interval> variableRanges,
    228                                             ISymbolicExpressionTree solution,
     228                                            ISymbolicExpressionTree solution, bool useSplitting,
    229229                                            out double error) {
    230       var intervalInterpreter = new IntervalInterpreter();
     230      var intervalInterpreter = new IntervalInterpreter() {UseIntervalSplitting = useSplitting};
    231231      error = 0.0;
    232232      var satisfied = true;
Note: See TracChangeset for help on using the changeset viewer.