Changeset 6973 for branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/DistributionGenerator
- Timestamp:
- 11/08/11 16:33:01 (13 years ago)
- Location:
- branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/DistributionGenerator
- Files:
-
- 5 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/DistributionGenerator/Distribution.cs
r6968 r6973 21 21 22 22 using System; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 25 26 namespace HeuristicLab.Problems.DataAnalysis.Benchmarks { 27 28 public enum DistributionType { Training, Test }; 29 26 30 public abstract class Distribution : NamedItem { 31 32 protected double start; 33 protected double end; 34 35 protected Distribution(Distribution original, Cloner cloner) 36 : base(original, cloner) { 37 start = original.start; 38 end = original.end; 39 } 40 41 public Distribution(double start, double end) { 42 this.start = start; 43 this.end = end; 44 } 27 45 28 46 public abstract Double Next();
Note: See TracChangeset
for help on using the changeset viewer.