Changeset 3659 for trunk/sources/HeuristicLab.Encodings.PermutationEncoding
- Timestamp:
- 05/06/10 00:47:32 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/MultiPermutationCrossover.cs
r3593 r3659 52 52 public MultiPermutationCrossover() 53 53 : base() { 54 Parameters.Add(new S ubScopesLookupParameter<Permutation>("Parents", "The parent permutations which should be crossed."));54 Parameters.Add(new ScopeTreeLookupParameter<Permutation>("Parents", "The parent permutations which should be crossed.")); 55 55 ParentsParameter.ActualName = "Permutation"; 56 56 Parameters.Add(new LookupParameter<Permutation>("Child", "The child permutation resulting from the crossover.")); -
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/PermutationCrossover.cs
r3376 r3659 42 42 } 43 43 public ILookupParameter<ItemArray<Permutation>> ParentsParameter { 44 get { return (S ubScopesLookupParameter<Permutation>)Parameters["Parents"]; }44 get { return (ScopeTreeLookupParameter<Permutation>)Parameters["Parents"]; } 45 45 } 46 46 public ILookupParameter<Permutation> ChildParameter { … … 51 51 : base() { 52 52 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic crossover operators.")); 53 Parameters.Add(new S ubScopesLookupParameter<Permutation>("Parents", "The parent permutations which should be crossed."));53 Parameters.Add(new ScopeTreeLookupParameter<Permutation>("Parents", "The parent permutations which should be crossed.")); 54 54 ParentsParameter.ActualName = "Permutation"; 55 55 Parameters.Add(new LookupParameter<Permutation>("Child", "The child permutation resulting from the crossover."));
Note: See TracChangeset
for help on using the changeset viewer.