Changeset 16866


Ignore:
Timestamp:
04/23/19 13:28:23 (4 months ago)
Author:
chaider
Message:

#2971 changed ConstraintParser description text and example to meet new parser requirements

Location:
branches/2971_named_intervals
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/ParsedConstraintView.designer.cs

    r16844 r16866  
    123123      this.label1.Size = new System.Drawing.Size(250, 182);
    124124      this.label1.TabIndex = 0;
    125       this.label1.Text = "To define Target Variable constraints:" + Environment.NewLine + 
    126                          "1. Start the definition with Target:" + Environment.NewLine + 
    127                          "2. Specify the target variable" + Environment.NewLine +
    128                          "3. Add the key word in" + Environment.NewLine + 
     125      this.label1.Text = "To define Target Variable constraints:" + Environment.NewLine +
     126                         "1. Start the definition with Target:" + Environment.NewLine +
     127                         "2. Specify the target variable between '-characters" + Environment.NewLine +
     128                         "3. Add the key word in" + Environment.NewLine +
    129129                         "4. Specify the Interval with [lowerbound .. upperbound]" + Environment.NewLine +
    130                          "5. Square bracket open or closed specify open or closed interval" + Environment.NewLine + Environment.NewLine +
    131                          "To define a derivation constraint: " + Environment.NewLine +
    132                          "1. Start with d or \u2202" + Environment.NewLine +
    133                          "2. Specify the target" + Environment.NewLine +
    134                          "3. add space and / and space" + Environment.NewLine +
    135                          "4. add derivation variable then follow step 4-5 from mabove";
     130                         "5. Square bracket open or closed specify open or closed interval" + Environment.NewLine + Environment.NewLine +
     131                         "To define a derivation constraint: " + Environment.NewLine +
     132                         "1. Start with d or \u2202" + Environment.NewLine +
     133                         "2. Specify the target between '-characters" + Environment.NewLine +
     134                         "3. add space and / and space" + Environment.NewLine +
     135                         "4. add derivation variable between '-characters'" + Environment.NewLine +
     136                         "5. Follow the steps 3-5 fro mabove";
    136137      //
    137138      // constraintsOutput
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/ParsedConstraint.cs

    r16841 r16866  
    3232  public class ParsedConstraint : Item {
    3333    private static readonly string exampleInput = "#Example for a target variable constraint:" + Environment.NewLine +
    34                                                   "Target:y in [0 .. 100]" + Environment.NewLine + Environment.NewLine +
     34                                                  "Target:'y' in [0 .. 100]" + Environment.NewLine + Environment.NewLine +
    3535                                                  "#Example for constraint on model parameter: " + Environment.NewLine +
    36                                                   "dy / dx in [0 .. 10]" + Environment.NewLine +
    37                                                   "\u2202²y / \u2202x² in ]-1 .. inf.[";
     36                                                  "d'y'/d'x' in [0 .. 10]" + Environment.NewLine +
     37                                                  "\u2202²'y'/\u2202'x'² in ]-1 .. inf.[";
    3838     
    3939    public string Input { get; set; }
Note: See TracChangeset for help on using the changeset viewer.