Changeset 10825 for branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.DataAnalysis.Symbolic
- Timestamp:
- 05/08/14 10:27:02 (11 years ago)
- Location:
- branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.DataAnalysis.Symbolic/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.DataAnalysis.Symbolic/3.3/ConsecutiveSamplesEvaluator.cs
r10579 r10825 136 136 137 137 //create fixed rows enumerable 138 var rows = Enumerable.Range(fixedSamples.Start, fixedSamples.Size) ;138 var rows = Enumerable.Range(fixedSamples.Start, fixedSamples.Size).Select(r => (r - samples.Start) % samples.Size + samples.Start); 139 139 //create consecutive rows enumerable 140 140 if (ConsecutiveSamples > 0) { -
branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.DataAnalysis.Symbolic/3.3/RandomSamplesEvaluator .cs
r10579 r10825 127 127 128 128 //create fixed rows enumerable 129 var rows = Enumerable.Range(fixedSamples.Start, fixedSamples.Size) ;129 var rows = Enumerable.Range(fixedSamples.Start, fixedSamples.Size).Select(r => (r - samples.Start) % samples.Size + samples.Start); 130 130 //create randomly chosen rows enumerable 131 131 if (randomSamples > 0) {
Note: See TracChangeset
for help on using the changeset viewer.