Changeset 14542 for branches/symbreg-factors-2650/HeuristicLab.Tests
- Timestamp:
- 01/04/17 16:33:37 (7 years ago)
- Location:
- branches/symbreg-factors-2650
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/symbreg-factors-2650
- Property svn:mergeinfo changed
/trunk/sources merged: 14504,14506-14509,14516-14517,14519,14522-14523,14527-14529,14531-14533
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 14527,14529
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPTimeSeriesSampleTest.cs
r14185 r14542 50 50 SamplesUtils.RunAlgorithm(osga); 51 51 52 Assert.AreEqual(0.0 20952753415199643, SamplesUtils.GetDoubleResult(osga, "BestQuality"), 1E-8);53 Assert.AreEqual(0.0 23220938866319357, SamplesUtils.GetDoubleResult(osga, "CurrentAverageQuality"), 1E-8);54 Assert.AreEqual(0.0 23716788824595391, SamplesUtils.GetDoubleResult(osga, "CurrentWorstQuality"), 1E-8);55 Assert.AreEqual( 48200, SamplesUtils.GetIntResult(osga, "EvaluatedSolutions"));52 Assert.AreEqual(0.015441526903606416, SamplesUtils.GetDoubleResult(osga, "BestQuality"), 1E-8); 53 Assert.AreEqual(0.017420834241279298, SamplesUtils.GetDoubleResult(osga, "CurrentAverageQuality"), 1E-8); 54 Assert.AreEqual(0.065195703753298972, SamplesUtils.GetDoubleResult(osga, "CurrentWorstQuality"), 1E-8); 55 Assert.AreEqual(92000, SamplesUtils.GetIntResult(osga, "EvaluatedSolutions")); 56 56 } 57 57 … … 63 63 problem.MaximumSymbolicExpressionTreeDepth.Value = 12; 64 64 problem.EvaluatorParameter.Value.HorizonParameter.Value.Value = 10; 65 problem.ApplyLinearScaling.Value = true; 65 66 66 67 foreach (var symbol in problem.SymbolicExpressionTreeGrammar.Symbols) { -
branches/symbreg-factors-2650/HeuristicLab.Tests/HeuristicLab.Algorithms.ParameterlessPopulationPyramid-3.3/ParameterlessPopulationPyramidTest.cs
r14185 r14542 39 39 PrivateObject hidden = new PrivateObject(solver); 40 40 try { 41 hidden.Invoke("Run", new CancellationToken()); 41 var ct = new CancellationToken(); 42 hidden.Invoke("Initialize", ct); 43 hidden.Invoke("Run", ct); 42 44 } catch (OperationCanceledException) { 43 45 // Ignore
Note: See TracChangeset
for help on using the changeset viewer.