Changeset 17587 for branches/2521_ProblemRefactoring/HeuristicLab.Encodings.PermutationEncoding/3.3/Creators
- Timestamp:
- 06/04/20 18:16:58 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.PermutationEncoding/3.3/Creators/RandomPermutationCreator.cs
r17226 r17587 48 48 get { return (ILookupParameter<Permutation>)Parameters["Permutation"]; } 49 49 } 50 public IValueParameter< PermutationType> PermutationTypeParameter {51 get { return (IValueParameter< PermutationType>)Parameters["PermutationType"]; }50 public IValueParameter<EnumValue<PermutationTypes>> PermutationTypeParameter { 51 get { return (IValueParameter<EnumValue<PermutationTypes>>)Parameters["PermutationType"]; } 52 52 } 53 53 … … 65 65 Parameters.Add(new ValueLookupParameter<IntValue>("Length", "The length of the new random permutation.")); 66 66 Parameters.Add(new LookupParameter<Permutation>("Permutation", "The new random permutation.")); 67 Parameters.Add(new ValueParameter< PermutationType>("PermutationType", "The type of the permutation.", new PermutationType(PermutationTypes.RelativeUndirected)));67 Parameters.Add(new ValueParameter<EnumValue<PermutationTypes>>("PermutationType", "The type of the permutation.", new EnumValue<PermutationTypes>(PermutationTypes.RelativeUndirected))); 68 68 } 69 69
Note: See TracChangeset
for help on using the changeset viewer.