Changeset 11664
- Timestamp:
- 12/05/14 13:31:48 (10 years ago)
- Location:
- branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/HeuristicLab.Algorithms.ParameterlessPopulationPyramid-3.3.csproj
r11663 r11664 104 104 <Compile Include="HillClimber.cs" /> 105 105 <Compile Include="LinkageTree.cs" /> 106 <Compile Include="ParameterlessPopulationPyramid.cs" /> 106 107 <Compile Include="Population.cs" /> 107 108 <Compile Include="Problems\BinaryVectorProblem.cs" /> -
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/HillClimber.cs
r11640 r11664 39 39 [Storable] 40 40 private IRandom random; 41 41 42 42 private const string IterationsParameterName = "Iterations"; 43 43 -
branches/Parameter-less Population Pyramid/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/Population.cs
r11663 r11664 31 31 private readonly List<bool[]> solutions = new List<bool[]>(); 32 32 private LinkageTree tree; 33 34 public LinkageTree Tree { 35 get { return tree; } 36 } 37 38 public List<bool[]> Solutions { 39 get { return solutions; } 40 } 41 33 42 public Population(int length, IRandom rand) { 34 43 tree = new LinkageTree(length, rand); 35 44 } 36 void Add(bool[] solution) {45 public void Add(bool[] solution) { 37 46 solutions.Add(solution); 38 47 tree.Add(solution);
Note: See TracChangeset
for help on using the changeset viewer.