Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/08/12 14:04:17 (12 years ago)
Author:
mkommend
Message:

#1081: Intermediate commit of trunk updates - interpreter changes must be redone.

Location:
branches/HeuristicLab.TimeSeries
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.TimeSeries

    • Property svn:ignore
      •  

        old new  
        2020bin
        2121protoc.exe
         22_ReSharper.HeuristicLab.TimeSeries-3.3
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.DataAnalysis.Symbolic

    • Property svn:mergeinfo set to (toggle deleted branches)
      /trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolicmergedeligible
      /branches/Benchmarking/sources/HeuristicLab.Problems.DataAnalysis.Symbolic6917-7005
      /branches/CloningRefactoring/HeuristicLab.Problems.DataAnalysis.Symbolic4656-4721
      /branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic5471-5808
      /branches/DataAnalysis SolutionEnsembles/HeuristicLab.Problems.DataAnalysis.Symbolic5815-6180
      /branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.Symbolic4458-4459,​4462,​4464
      /branches/GP.Grammar.Editor/HeuristicLab.Problems.DataAnalysis.Symbolic6284-6795
      /branches/GP.Symbols (TimeLag, Diff, Integral)/HeuristicLab.Problems.DataAnalysis.Symbolic5060
      /branches/NET40/sources/HeuristicLab.Problems.DataAnalysis.Symbolic5138-5162
      /branches/ParallelEngine/HeuristicLab.Problems.DataAnalysis.Symbolic5175-5192
      /branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.DataAnalysis.Symbolic7568-7810
      /branches/QAPAlgorithms/HeuristicLab.Problems.DataAnalysis.Symbolic6350-6627
      /branches/Restructure trunk solution/HeuristicLab.Problems.DataAnalysis.Symbolic6828
      /branches/SuccessProgressAnalysis/HeuristicLab.Problems.DataAnalysis.Symbolic5370-5682
      /branches/Trunk/HeuristicLab.Problems.DataAnalysis.Symbolic6829-6865
      /branches/VNS/HeuristicLab.Problems.DataAnalysis.Symbolic5594-5752
      /branches/histogram/HeuristicLab.Problems.DataAnalysis.Symbolic5959-6341
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisExpressionTreeILEmittingInterpreter.cs

    r7929 r8430  
    866866
    867867    private byte MapSymbolToOpCode(ISymbolicExpressionTreeNode treeNode) {
    868       if (symbolToOpcode.ContainsKey(treeNode.Symbol.GetType()))
    869         return symbolToOpcode[treeNode.Symbol.GetType()];
    870       else
     868      byte opCode;
     869      if (!symbolToOpcode.TryGetValue(treeNode.Symbol.GetType(), out opCode))
    871870        throw new NotSupportedException("Symbol: " + treeNode.Symbol);
    872     }
     871      return opCode;
     872    }
     873
    873874
    874875    public static double AiryA(double x) {
     
    897898    public static double Psi(double x) {
    898899      if (double.IsNaN(x)) return double.NaN;
    899       else if (x.IsAlmost(0.0)) return double.NaN;
    900       else if ((Math.Floor(x) - x).IsAlmost(0.0)) return double.NaN;
     900      else if (x <= 0 && (Math.Floor(x) - x).IsAlmost(0)) return double.NaN;
    901901      return alglib.psi(x);
    902902    }
     
    925925      double shi, chi;
    926926      alglib.hyperbolicsinecosineintegrals(x, out shi, out chi);
    927       return chi;
     927      return shi;
    928928    }
    929929
Note: See TracChangeset for help on using the changeset viewer.