Changeset 4035
- Timestamp:
- 07/14/10 11:23:30 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/SymbolicRegressionEvaluator.cs
r4034 r4035 141 141 //algorithm taken from progamming pearls page 127 142 142 private IEnumerable<int> GenerateRowsToEvaluate(double relativeAmount, int start, int end) { 143 if (end < start) throw new ArgumentException("Start value is larger than end value."); 143 144 int count = (int)((end - start) * relativeAmount); 144 145 if (count == 0) count = 1;
Note: See TracChangeset
for help on using the changeset viewer.