Free cookie consent management tool by TermsFeed Policy Generator

Changeset 308


Ignore:
Timestamp:
06/09/08 11:24:32 (16 years ago)
Author:
gkronber
Message:

fixed typo "Substraction" -> "Subtraction" oops

Location:
trunk/sources/HeuristicLab.Functions
Files:
6 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Functions/BakedTreeEvaluator.cs

    r266 r308  
    8787            return sum;
    8888          }
    89         case EvaluatorSymbolTable.SUBSTRACTION: {
     89        case EvaluatorSymbolTable.SUBTRACTION: {
    9090            if(arity == 1) {
    9191              return -EvaluateBakedCode();
  • trunk/sources/HeuristicLab.Functions/FunctionView.cs

    r185 r308  
    202202      }
    203203
    204       public void Visit(Substraction substraction) {
     204      public void Visit(Subtraction substraction) {
    205205        name = "-";
    206206      }
  • trunk/sources/HeuristicLab.Functions/HeuristicLab.Functions.csproj

    r260 r308  
    8080    <Compile Include="Exponential.cs" />
    8181    <Compile Include="Sqrt.cs" />
    82     <Compile Include="Substraction.cs" />
    8382    <Compile Include="Power.cs" />
    8483    <Compile Include="Division.cs" />
     84    <Compile Include="Subtraction.cs" />
    8585    <Compile Include="SymbolTable.cs" />
    8686    <Compile Include="Tangens.cs" />
  • trunk/sources/HeuristicLab.Functions/IFunctionVisitor.cs

    r2 r308  
    4646    void Visit(Sinus sinus);
    4747    void Visit(Sqrt sqrt);
    48     void Visit(Substraction substraction);
     48    void Visit(Subtraction substraction);
    4949    void Visit(Tangens tangens);
    5050    void Visit(Variable variable);
  • trunk/sources/HeuristicLab.Functions/ModelAnalyzerExporter.cs

    r185 r308  
    9393    }
    9494
    95     public void Visit(Substraction substraction) {
    96       VisitFunction("Substraction[0]", substraction);
     95    public void Visit(Subtraction substraction) {
     96      VisitFunction("Subtraction[0]", substraction);
    9797    }
    9898
  • trunk/sources/HeuristicLab.Functions/Subtraction.cs

    r307 r308  
    3030
    3131namespace HeuristicLab.Functions {
    32   public sealed class Substraction : FunctionBase {
     32  public sealed class Subtraction : FunctionBase {
    3333    public override string Description {
    3434      get {
    35         return @"Substracts the results of sub-tree 2..n from the result of the first sub-tree.
     35        return @"Subtracts the results of sub-tree 2..n from the result of the first sub-tree.
    3636    (- 3) => -3
    3737    (- 2 3) => -1
     
    4040    }
    4141
    42     public Substraction()
     42    public Subtraction()
    4343      : base() {
    4444      // 2 - 3 seems like an reasonable defaut (used for +,-,*,/) (discussion with swinkler and maffenze)
  • trunk/sources/HeuristicLab.Functions/SymbolTable.cs

    r266 r308  
    4848    public const int SINUS = 10180;
    4949    public const int SQRT = 10190;
    50     public const int SUBSTRACTION = 10200;
     50    public const int SUBTRACTION = 10200;
    5151    public const int TANGENS = 10210;
    5252    public const int VARIABLE = 10220;
     
    8787      staticTypes[typeof(Sinus)] = SINUS;
    8888      staticTypes[typeof(Sqrt)] = SQRT;
    89       staticTypes[typeof(Substraction)] = SUBSTRACTION;
     89      staticTypes[typeof(Subtraction)] = SUBTRACTION;
    9090      staticTypes[typeof(Tangens)] = TANGENS;
    9191      staticTypes[typeof(Variable)] = VARIABLE;
Note: See TracChangeset for help on using the changeset viewer.