Changeset 11739 for branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/Encodings/IntegerEncoding.cs
- Timestamp:
- 01/08/15 15:52:05 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/Encodings/IntegerEncoding.cs
r11598 r11739 94 94 public override IDeepCloneable Clone(Cloner cloner) { return new IntegerEncoding(this, cloner); } 95 95 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) 97 100 : base(name) { 98 101 if (min >= max) throw new ArgumentException("min must be less than max", "min");
Note: See TracChangeset
for help on using the changeset viewer.