- Timestamp:
- 08/20/13 17:03:31 (11 years ago)
- Location:
- stable
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 9764-9775,9777-9778,9782-9786,9792,9803,9806-9807,9810
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 9764-9775,9777-9778,9782-9786,9792,9803,9806
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/SymbolicDataAnalysisExpressionCrossoverTest.cs
r9462 r9885 27 27 using HeuristicLab.Core; 28 28 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 29 using HeuristicLab.Problems.DataAnalysis.Symbolic;30 29 using HeuristicLab.Problems.DataAnalysis.Symbolic.Regression; 31 30 using HeuristicLab.Random; … … 33 32 using ExecutionContext = HeuristicLab.Core.ExecutionContext; 34 33 35 namespace HeuristicLab.Problems.DataAnalysis.Symbolic _34.Tests {34 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Tests { 36 35 [TestClass()] 37 36 public class SymbolicDataAnalysisExpressionCrossoverTest { … … 49 48 50 49 [TestMethod] 50 [TestCategory("Problems.DataAnalysis")] 51 [TestProperty("Time", "long")] 51 52 public void SymbolicDataAnalysisExpressionSemanticSimilarityCrossoverPerformanceTest() { 52 53 var problem = new SymbolicRegressionSingleObjectiveProblem(); … … 56 57 57 58 [TestMethod] 59 [TestCategory("Problems.DataAnalysis")] 60 [TestProperty("Time", "long")] 58 61 public void SymbolicDataAnalysisExpressionProbabilisticFunctionalCrossoverPerformanceTest() { 59 62 var problem = new SymbolicRegressionSingleObjectiveProblem(); … … 63 66 64 67 [TestMethod] 68 [TestCategory("Problems.DataAnalysis")] 69 [TestProperty("Time", "long")] 65 70 public void SymbolicDataAnalysisExpressionDeterministicBestCrossoverPerformanceTest() { 66 71 var problem = new SymbolicRegressionSingleObjectiveProblem(); … … 70 75 71 76 [TestMethod] 77 [TestCategory("Problems.DataAnalysis")] 78 [TestProperty("Time", "long")] 72 79 public void SymbolicDataAnalysisExpressionContextAwareCrossoverPerformanceTest() { 73 80 var problem = new SymbolicRegressionSingleObjectiveProblem(); … … 77 84 78 85 [TestMethod] 86 [TestCategory("Problems.DataAnalysis")] 87 [TestProperty("Time", "long")] 79 88 public void SymbolicDataAnalysisExpressionDepthConstrainedCrossoverPerformanceTest() { 80 89 var problem = new SymbolicRegressionSingleObjectiveProblem(); … … 137 146 138 147 foreach (var tree in trees) 139 HeuristicLab.Encodings.SymbolicExpressionTreeEncoding _34.Tests.Util.IsValid(tree);148 HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Tests.Util.IsValid(tree); 140 149 } 141 150 } -
stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/SymbolicDataAnalysisExpressionTreeInterpreterTest.cs
r9456 r9885 25 25 using System.Linq; 26 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 using HeuristicLab.Problems.DataAnalysis.Symbolic;28 27 using HeuristicLab.Random; 29 28 using Microsoft.VisualStudio.TestTools.UnitTesting; 30 namespace HeuristicLab.Problems.DataAnalysis.Symbolic _34.Tests {29 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Tests { 31 30 32 31 … … 52 51 53 52 [TestMethod] 53 [TestCategory("Problems.DataAnalysis")] 54 [TestProperty("Time", "long")] 54 55 public void SymbolicDataAnalysisExpressionTreeInterpreterTypeCoherentGrammarPerformanceTest() { 55 56 TypeCoherentGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeInterpreter(), 12.5e6); 56 57 } 57 [TestMethod] 58 59 [TestMethod] 60 [TestCategory("Problems.DataAnalysis")] 61 [TestProperty("Time", "long")] 58 62 public void SymbolicDataAnalysisExpressionTreeInterpreterFullGrammarPerformanceTest() { 59 63 FullGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeInterpreter(), 12.5e6); 60 64 } 61 [TestMethod] 65 66 [TestMethod] 67 [TestCategory("Problems.DataAnalysis")] 68 [TestProperty("Time", "long")] 62 69 public void SymbolicDataAnalysisExpressionTreeInterpreterArithmeticGrammarPerformanceTest() { 63 70 ArithmeticGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeInterpreter(), 12.5e6); … … 65 72 66 73 [TestMethod] 74 [TestCategory("Problems.DataAnalysis")] 75 [TestProperty("Time", "long")] 67 76 public void SymbolicDataAnalysisExpressionTreeILEmittingInterpreterTypeCoherentGrammarPerformanceTest() { 68 77 TypeCoherentGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeILEmittingInterpreter(), 7.5e6); 69 78 } 70 [TestMethod] 79 80 [TestMethod] 81 [TestCategory("Problems.DataAnalysis")] 82 [TestProperty("Time", "long")] 71 83 public void SymbolicDataAnalysisExpressionTreeILEmittingInterpreterFullGrammarPerformanceTest() { 72 84 FullGrammarPerformanceTest(new SymbolicDataAnalysisExpressionTreeILEmittingInterpreter(), 7.5e6); 73 85 } 86 87 [TestCategory("Problems.DataAnalysis")] 88 [TestProperty("Time", "long")] 74 89 [TestMethod] 75 90 public void SymbolicDataAnalysisExpressionTreeILEmittingInterpreterArithmeticGrammarPerformanceTest() { … … 135 150 ///</summary> 136 151 [TestMethod] 152 [TestCategory("Problems.DataAnalysis")] 153 [TestProperty("Time", "short")] 137 154 public void SymbolicDataAnalysisExpressionTreeInterpreterEvaluateTest() { 138 155 Dataset ds = new Dataset(new string[] { "Y", "A", "B" }, new double[,] { … … 158 175 159 176 [TestMethod] 177 [TestCategory("Problems.DataAnalysis")] 178 [TestProperty("Time", "short")] 160 179 public void SymbolicDataAnalysisExpressionILEmittingTreeInterpreterEvaluateTest() { 161 180 Dataset ds = new Dataset(new string[] { "Y", "A", "B" }, new double[,] { … … 411 430 try { 412 431 Evaluate(interpreter, ds, "(psi " + x + ")", 0, alglib.psi(x)); 413 } 414 catch (alglib.alglibexception) { // ignore cases where alglib throws an exception 432 } catch (alglib.alglibexception) { // ignore cases where alglib throws an exception 415 433 } 416 434 }; -
stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/SymbolicDataAnalysisExpressionTreeSimplifierTest.cs
r9456 r9885 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using HeuristicLab.Problems.DataAnalysis.Symbolic;26 25 using Microsoft.VisualStudio.TestTools.UnitTesting; 27 26 28 namespace HeuristicLab.Problems.DataAnalysis.Symbolic _34.Tests {27 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Tests { 29 28 30 29 [TestClass()] 31 30 public class SymbolicDataAnalysisExpressionTreeSimplifierTest { 31 32 32 [TestMethod] 33 [TestCategory("Problems.DataAnalysis")] 34 [TestProperty("Time", "short")] 33 35 public void SimplifierAxiomsTest() { 34 36 SymbolicExpressionImporter importer = new SymbolicExpressionImporter(); -
stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/SymbolicExpressionImporter.cs
r9456 r9885 25 25 using System.Linq; 26 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 using HeuristicLab.Problems.DataAnalysis.Symbolic; 28 29 namespace HeuristicLab.Problems.DataAnalysis.Symbolic_34.Tests { 27 28 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Tests { 30 29 internal class SymbolicExpressionImporter { 31 30 private const string VARSTART = "VAR"; … … 86 85 StartSymbol startSymbol = new StartSymbol(); 87 86 88 public SymbolicExpressionImporter() {89 }90 91 87 internal ISymbolicExpressionTree Import(string str) { 92 88 str = str.Replace("(", " ( ").Replace(")", " ) "); -
stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/Token.cs
r9456 r9885 22 22 using System.Globalization; 23 23 24 namespace HeuristicLab.Problems.DataAnalysis.Symbolic _34.Tests {24 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Tests { 25 25 internal enum TokenSymbol { LPAR, RPAR, SYMB, NUMBER }; 26 26 internal class Token { -
stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/Util.cs
r9456 r9885 25 25 using System.Linq; 26 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 using HeuristicLab.Problems.DataAnalysis.Symbolic;28 27 using HeuristicLab.Random; 29 namespace HeuristicLab.Problems.DataAnalysis.Symbolic _34.Tests {28 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Tests { 30 29 internal class Util { 31 30
Note: See TracChangeset
for help on using the changeset viewer.