Free cookie consent management tool by TermsFeed Policy Generator

Changeset 16731 for branches


Ignore:
Timestamp:
04/01/19 10:06:55 (6 years ago)
Author:
chaider
Message:

#2971 Added commented example input for constraints definition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionProblemData.cs

    r16699 r16731  
    1 #region License Information
     1#region License Information
    22/* HeuristicLab
    33 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    173173      }
    174174
     175      var commentMessage = "#Example of a target variable constraint" + Environment.NewLine +
     176                           "#F1: TargetVariable" + Environment.NewLine +
     177                           "#in: keyword has to follow" + Environment.NewLine +
     178                           "#bracket: open or closed regarding to open or closed interval definition" + Environment.NewLine +
     179                           "#double: lowerbound of the interval" + Environment.NewLine +
     180                           "#..: keyword has to follow to seperate lowerbound from upperbound" + Environment.NewLine +
     181                           "#double: upperbound of the interval" + Environment.NewLine +
     182                           "#bracket: open or closed regarding to open or closed interval definition" + Environment.NewLine +
     183                           "#F1 in [0 .. 1.2]" + Environment.NewLine + Environment.NewLine +
     184                           "#Constraints on model parameters:" + Environment.NewLine +
     185                           "#derivation symbol: d or ∂" + Environment.NewLine +
     186                           "#derivation in leibniz notation" + Environment.NewLine +
     187                           "#in and interval syntax is the same like above" + Environment.NewLine +
     188                           "#∂F2/∂X1 in [0 .. inf.[" + Environment.NewLine +
     189                           "#∂²F2/∂X1² in [0 .. inf.[" + Environment.NewLine +
     190                           "#∂F2/∂X9 in [-100 .. 0]" + Environment.NewLine +
     191                           "#∂²F2/∂X9² in [0 .. inf.[";
     192
    175193      Parameters.Add(new FixedValueParameter<NamedIntervals>(VariableRangesParameterName, namedIntervals));
    176       Parameters.Add(new FixedValueParameter<TextValue>(IntervalConstraintsParameterName, new TextValue()));
     194      Parameters.Add(new FixedValueParameter<TextValue>(IntervalConstraintsParameterName, new TextValue(commentMessage)));
    177195      RegisterParameterEvents();
    178196    }
Note: See TracChangeset for help on using the changeset viewer.