- Timestamp:
- 03/24/11 13:24:09 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Evaluators/SymbolicDataAnalysisEvaluator.cs
r5809 r5823 93 93 int samplesStart = EvaluationPartitionParameter.ActualValue.Start; 94 94 int samplesEnd = EvaluationPartitionParameter.ActualValue.End; 95 int testPartitionStart = ProblemDataParameter.ActualValue.TestPartition.Start; 96 int testPartitionEnd = ProblemDataParameter.ActualValue.TestPartition.End; 95 97 96 98 if (samplesEnd < samplesStart) throw new ArgumentException("Start value is larger than end value."); … … 98 100 if (count == 0) count = 1; 99 101 return RandomEnumerable.SampleRandomNumbers(seed, samplesStart, samplesEnd, count) 100 .Where(i => i < ProblemDataParameter.ActualValue.TestPartition.Start || ProblemDataParameter.ActualValue.TestPartition.End <= i);102 .Where(i => i < testPartitionStart || testPartitionEnd <= i); 101 103 } 102 104 }
Note: See TracChangeset
for help on using the changeset viewer.