Changeset 14941 for stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples
- Timestamp:
- 05/05/17 20:07:38 (8 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 14529
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 14529
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab-3.3/Samples/GPTimeSeriesSampleTest.cs
r14186 r14941 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) {
Note: See TracChangeset
for help on using the changeset viewer.