- Timestamp:
- 04/04/19 13:15:58 (6 years ago)
- 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 301 301 <Compile Include="OnlineCalculators\OnlineTheilsUStatisticCalculator.cs" /> 302 302 <Compile Include="OnlineCalculators\OnlineWeightedDirectionalSymmetryCalculator.cs" /> 303 <Compile Include="ParsedConstraint.cs" /> 303 304 <Compile Include="Plugin.cs" /> 304 305 <Compile Include="Implementation\Classification\ThresholdCalculators\AccuracyMaximizationThresholdCalculator.cs" /> -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs
r16731 r16756 95 95 problemData.Parameters.Add(new ConstrainedValueParameter<StringValue>(TargetVariableParameterName, new ItemSet<StringValue>())); 96 96 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())); 98 98 emptyProblemData = problemData; 99 99 } … … 108 108 public NamedIntervals VariableRanges => VariableRangesParameter.Value; 109 109 110 public IFixedValueParameter< TextValue> IntervalConstraintsParameter => (IFixedValueParameter<TextValue>)Parameters[IntervalConstraintsParameterName];111 public TextValueIntervalConstraints => IntervalConstraintsParameter.Value;110 public IFixedValueParameter<ParsedConstraint> IntervalConstraintsParameter => (IFixedValueParameter<ParsedConstraint>)Parameters[IntervalConstraintsParameterName]; 111 public ParsedConstraint IntervalConstraints => IntervalConstraintsParameter.Value; 112 112 113 113 public string TargetVariable { … … 192 192 193 193 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())); 195 195 RegisterParameterEvents(); 196 196 }
Note: See TracChangeset
for help on using the changeset viewer.