Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/04/19 13:15:58 (6 years ago)
Author:
chaider
Message:

#2971 Changed Interval Constraints View
-Added View for successfully parsed Constraints
-Save Constraints as IntervalConstraints

Location:
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj

    r16685 r16756  
    301301    <Compile Include="OnlineCalculators\OnlineTheilsUStatisticCalculator.cs" />
    302302    <Compile Include="OnlineCalculators\OnlineWeightedDirectionalSymmetryCalculator.cs" />
     303    <Compile Include="ParsedConstraint.cs" />
    303304    <Compile Include="Plugin.cs" />
    304305    <Compile Include="Implementation\Classification\ThresholdCalculators\AccuracyMaximizationThresholdCalculator.cs" />
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs

    r16731 r16756  
    9595      problemData.Parameters.Add(new ConstrainedValueParameter<StringValue>(TargetVariableParameterName, new ItemSet<StringValue>()));
    9696      problemData.Parameters.Add(new FixedValueParameter<NamedIntervals>(VariableRangesParameterName, "", new NamedIntervals()));
    97       problemData.Parameters.Add(new FixedValueParameter<TextValue>(IntervalConstraintsParameterName, "", new TextValue()));
     97      problemData.Parameters.Add(new FixedValueParameter<ParsedConstraint>(IntervalConstraintsParameterName, "", new ParsedConstraint()));
    9898      emptyProblemData = problemData;
    9999    }
     
    108108    public NamedIntervals VariableRanges => VariableRangesParameter.Value;
    109109
    110     public IFixedValueParameter<TextValue> IntervalConstraintsParameter => (IFixedValueParameter<TextValue>)Parameters[IntervalConstraintsParameterName];
    111     public TextValue IntervalConstraints => IntervalConstraintsParameter.Value;
     110    public IFixedValueParameter<ParsedConstraint> IntervalConstraintsParameter => (IFixedValueParameter<ParsedConstraint>)Parameters[IntervalConstraintsParameterName];
     111    public ParsedConstraint IntervalConstraints => IntervalConstraintsParameter.Value;
    112112
    113113    public string TargetVariable {
     
    192192
    193193      Parameters.Add(new FixedValueParameter<NamedIntervals>(VariableRangesParameterName, namedIntervals));
    194       Parameters.Add(new FixedValueParameter<TextValue>(IntervalConstraintsParameterName, new TextValue(commentMessage)));
     194      Parameters.Add(new FixedValueParameter<ParsedConstraint>(IntervalConstraintsParameterName, new ParsedConstraint()));
    195195      RegisterParameterEvents();
    196196    }
Note: See TracChangeset for help on using the changeset viewer.