Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/25/19 12:04:30 (5 years ago)
Author:
pfleck
Message:

#3040 Added Vector symbols to TypeCoherentExpressionGrammar & fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeInterpreter.cs

    r17367 r17369  
    552552            DoubleVector s = VectorEvaluate(dataset, ref row, state);
    553553            for (int i = 1; i < currentInstr.nArguments; i++) {
    554               s += Evaluate(dataset, ref row, state);
     554              s += VectorEvaluate(dataset, ref row, state);
    555555            }
    556556            return s;
     
    559559            DoubleVector s = VectorEvaluate(dataset, ref row, state);
    560560            for (int i = 1; i < currentInstr.nArguments; i++) {
    561               s -= Evaluate(dataset, ref row, state);
     561              s -= VectorEvaluate(dataset, ref row, state);
    562562            }
    563563            return s;
     
    566566            DoubleVector s = VectorEvaluate(dataset, ref row, state);
    567567            for (int i = 1; i < currentInstr.nArguments; i++) {
    568               s *= Evaluate(dataset, ref row, state);
     568              s *= VectorEvaluate(dataset, ref row, state);
    569569            }
    570570            return s;
     
    573573            DoubleVector s = VectorEvaluate(dataset, ref row, state);
    574574            for (int i = 1; i < currentInstr.nArguments; i++) {
    575               s /= Evaluate(dataset, ref row, state);
     575              s /= VectorEvaluate(dataset, ref row, state);
    576576            }
    577577            return s;
Note: See TracChangeset for help on using the changeset viewer.