- Timestamp:
- 07/10/15 12:02:20 (9 years ago)
- Location:
- stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 12422,12424,12480-12482
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 12482
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/SymbolicDataAnalysisExpressionCrossoverTest.cs
r12009 r12706 125 125 stopwatch.Start(); 126 126 for (int i = 0; i != PopulationSize; ++i) { 127 var parent0 = (ISymbolicExpressionTree)trees.S electRandom(twister).Clone();127 var parent0 = (ISymbolicExpressionTree)trees.SampleRandom(twister).Clone(); 128 128 var scopeParent0 = new Scope(); 129 129 scopeParent0.Variables.Add(new Core.Variable(crossover.ParentsParameter.ActualName, parent0)); 130 130 context.Scope.SubScopes.Add(scopeParent0); 131 131 132 var parent1 = (ISymbolicExpressionTree)trees.S electRandom(twister).Clone();132 var parent1 = (ISymbolicExpressionTree)trees.SampleRandom(twister).Clone(); 133 133 var scopeParent1 = new Scope(); 134 134 scopeParent1.Variables.Add(new Core.Variable(crossover.ParentsParameter.ActualName, parent1)); -
stable/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/Util.cs
r12009 r12706 79 79 public static double CalculateEvaluatedNodesPerSec(ISymbolicExpressionTree[] trees, ISymbolicDataAnalysisExpressionTreeInterpreter interpreter, Dataset dataset, int repetitions) { 80 80 // warm up 81 IEnumerable<int> rows = Enumerable.Range(0, dataset.Rows) ;81 IEnumerable<int> rows = Enumerable.Range(0, dataset.Rows).ToList(); 82 82 long nNodes = 0; 83 83 double c = 0;
Note: See TracChangeset
for help on using the changeset viewer.