Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/02/17 22:03:01 (8 years ago)
Author:
pkimmesw
Message:

#2665 Removed "this" qualifier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/Integer/IntegerRangeErcValue.cs

    r14905 r14908  
    2626    public IValueParameter<IntRange> RangeParameter
    2727    {
    28       get { return (IValueParameter<IntRange>)this.Parameters[RangeParameterName]; }
     28      get { return (IValueParameter<IntRange>)Parameters[RangeParameterName]; }
    2929    }
    3030
    3131    public int Start
    3232    {
    33       get { return this.RangeParameter.Value.Start; }
    34       set { this.RangeParameter.Value.Start = value; }
     33      get { return RangeParameter.Value.Start; }
     34      set { RangeParameter.Value.Start = value; }
    3535    }
    3636
    3737    public int End
    3838    {
    39       get { return this.RangeParameter.Value.End; }
    40       set { this.RangeParameter.Value.End = value; }
     39      get { return RangeParameter.Value.End; }
     40      set { RangeParameter.Value.End = value; }
    4141    }
    4242
    4343    public override int GetErcValue(IRandom random) {
    4444
    45       return this.Start < this.End ? random.Next(this.Start, this.End) : 0;
     45      return Start < End ? random.Next(Start, End) : 0;
    4646    }
    4747
Note: See TracChangeset for help on using the changeset viewer.