Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/17/10 17:30:16 (14 years ago)
Author:
gkronber
Message:

Merged r4244 into trunk. #1082

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/Evaluators
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/Evaluators/MultiObjectiveSymbolicRegressionEvaluator.cs

    r4128 r4246  
    121121
    122122    public override IOperation Apply() {
    123       uint seed = (uint)Random.Next();
     123      int seed = Random.Next();
    124124      IEnumerable<int> rows = SingleObjectiveSymbolicRegressionEvaluator.GenerateRowsToEvaluate(seed, RelativeNumberOfEvaluatedSamples.Value, SamplesStart.Value, SamplesEnd.Value);
    125125      double[] qualities = Evaluate(SymbolicExpressionTreeInterpreter, SymbolicExpressionTree, RegressionProblemData.Dataset,
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/Evaluators/SingleObjectiveSymbolicRegressionEvaluator.cs

    r4190 r4246  
    139139
    140140    public override IOperation Apply() {
    141       uint seed = (uint)Random.Next();
     141      int seed = Random.Next();
    142142      IEnumerable<int> rows = GenerateRowsToEvaluate(seed, RelativeNumberOfEvaluatedSamples.Value, SamplesStart.Value, SamplesEnd.Value);
    143143      double quality = Evaluate(SymbolicExpressionTreeInterpreter, SymbolicExpressionTree, LowerEstimationLimit.Value, UpperEstimationLimit.Value,
     
    149149
    150150
    151     internal static IEnumerable<int> GenerateRowsToEvaluate(uint seed, double relativeAmount, int start, int end) {
     151    internal static IEnumerable<int> GenerateRowsToEvaluate(int seed, double relativeAmount, int start, int end) {
    152152      if (end < start) throw new ArgumentException("Start value is larger than end value.");
    153153      int count = (int)((end - start) * relativeAmount);
Note: See TracChangeset for help on using the changeset viewer.