- Timestamp:
- 01/29/14 14:23:45 (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
r10404 r10421 139 139 var islandIndex = IslandIndexParameter.ActualValue.Value; 140 140 var iteration = islandIndex + (generation / dataMigrationInterval); 141 var consecutiveSamples = (int) ConsecutiveSamples * samples.Size;141 var consecutiveSamples = (int)(ConsecutiveSamples * samples.Size); 142 142 var overlap = (int)Overlap * consecutiveSamples; 143 143 var consecutiveRows = GenerateRows(samples, fixedSamples, consecutiveSamples, overlap, iteration); -
branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.DataAnalysis.Symbolic/3.3/RandomSamplesEvaluator .cs
r10404 r10421 116 116 var samples = FitnessCalculationPartitionParameter.ActualValue; 117 117 var fixedSamples = FixedSamplesPartitionParameter.ActualValue; 118 var randomSamples = (int) RandomSamples * samples.Size;118 var randomSamples = (int)(RandomSamples * samples.Size); 119 119 120 120 var dataMigrationInterval = DataMigrationIntervalParameter.ActualValue.Value;
Note: See TracChangeset
for help on using the changeset viewer.