Changeset 6439 for trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm
- Timestamp:
- 06/17/11 15:22:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithm.cs
r6436 r6439 65 65 get { return (ValueParameter<IntValue>)Parameters["PopulationSize"]; } 66 66 } 67 p rivateConstrainedValueParameter<ISelector> SelectorParameter {67 public ConstrainedValueParameter<ISelector> SelectorParameter { 68 68 get { return (ConstrainedValueParameter<ISelector>)Parameters["Selector"]; } 69 69 } 70 p rivateConstrainedValueParameter<ICrossover> CrossoverParameter {70 public ConstrainedValueParameter<ICrossover> CrossoverParameter { 71 71 get { return (ConstrainedValueParameter<ICrossover>)Parameters["Crossover"]; } 72 72 } … … 74 74 get { return (ValueParameter<PercentValue>)Parameters["MutationProbability"]; } 75 75 } 76 p rivateOptionalConstrainedValueParameter<IManipulator> MutatorParameter {76 public OptionalConstrainedValueParameter<IManipulator> MutatorParameter { 77 77 get { return (OptionalConstrainedValueParameter<IManipulator>)Parameters["Mutator"]; } 78 78 } … … 105 105 set { SelectorParameter.Value = value; } 106 106 } 107 public IEnumerable<ISelector> ValidSelectors {108 get { return SelectorParameter.ValidValues; }109 }110 107 public ICrossover Crossover { 111 108 get { return CrossoverParameter.Value; } … … 119 116 get { return MutatorParameter.Value; } 120 117 set { MutatorParameter.Value = value; } 121 }122 public IEnumerable<IManipulator> ValidMutators {123 get { return MutatorParameter.ValidValues; }124 118 } 125 119 public IntValue Elites {
Note: See TracChangeset
for help on using the changeset viewer.