- Timestamp:
- 02/13/15 15:00:15 (9 years ago)
- Location:
- stable
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 11939,11945,11956,11958-11961,11963,11967,11970-11971,11982-11984,11987-11988,11990,11993-11994,11996,11998-12004
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Population.cs
r11838 r12005 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Encodings.BinaryVectorEncoding; 25 26 26 27 namespace HeuristicLab.Algorithms.ParameterlessPopulationPyramid { … … 29 30 // and the original source code in C++11 available from: https://github.com/brianwgoldman/Parameter-less_Population_Pyramid 30 31 public class Population { 31 public List< bool[]> Solutions {32 public List<BinaryVector> Solutions { 32 33 get; 33 34 private set; … … 40 41 41 42 public Population(int length, IRandom rand) { 42 Solutions = new List< bool[]>();43 Solutions = new List<BinaryVector>(); 43 44 Tree = new LinkageTree(length, rand); 44 45 } 45 public void Add( bool[]solution) {46 public void Add(BinaryVector solution) { 46 47 Solutions.Add(solution); 47 48 Tree.Add(solution);
Note: See TracChangeset
for help on using the changeset viewer.