Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/08/15 15:52:05 (9 years ago)
Author:
mkommend
Message:

#2174: Worked on operators and programmable problem base classes and scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/Encodings/IntegerEncoding.cs

    r11598 r11739  
    9494    public override IDeepCloneable Clone(Cloner cloner) { return new IntegerEncoding(this, cloner); }
    9595
    96     public IntegerEncoding(string name, int length, int min, int max, int? step = null)
     96
     97    public IntegerEncoding() : this("IntegerVector", 10) { }
     98    public IntegerEncoding(int length) : this("integerVector", length) { }
     99    public IntegerEncoding(string name, int length, int min = int.MinValue, int max = int.MaxValue, int? step = null)
    97100      : base(name) {
    98101      if (min >= max) throw new ArgumentException("min must be less than max", "min");
Note: See TracChangeset for help on using the changeset viewer.