Changeset 11987 for trunk/sources/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/LinkageTree.cs
- Timestamp:
- 02/12/15 15:39:28 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/LinkageTree.cs
r11939 r11987 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Core; 28 using HeuristicLab.Encodings.BinaryVectorEncoding; 28 29 using HeuristicLab.Random; 29 30 … … 64 65 } 65 66 66 public void Add( bool[]solution) {67 public void Add(BinaryVector solution) { 67 68 if (solution.Length != length) throw new ArgumentException("The individual has not the correct length."); 68 69 for (int i = 1; i < solution.Length; i++) {
Note: See TracChangeset
for help on using the changeset viewer.