Changeset 8206 for branches/GP-MoveOperators/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm
- Timestamp:
- 07/03/12 16:46:35 (12 years ago)
- Location:
- branches/GP-MoveOperators
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-MoveOperators
- Property svn:mergeinfo changed
/trunk/sources merged: 8084,8088-8090,8092-8100,8102-8113,8115,8117-8132,8134-8146,8148-8156,8158-8160,8163-8170,8173-8176,8178-8190,8192-8205
- Property svn:mergeinfo changed
-
branches/GP-MoveOperators/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/IslandOffspringSelectionGeneticAlgorithm.cs
r8085 r8206 70 70 get { return (ValueParameter<PercentValue>)Parameters["MigrationRate"]; } 71 71 } 72 p rivateConstrainedValueParameter<IMigrator> MigratorParameter {73 get { return ( ConstrainedValueParameter<IMigrator>)Parameters["Migrator"]; }74 } 75 p rivateConstrainedValueParameter<ISelector> EmigrantsSelectorParameter {76 get { return ( ConstrainedValueParameter<ISelector>)Parameters["EmigrantsSelector"]; }77 } 78 p rivateConstrainedValueParameter<IReplacer> ImmigrationReplacerParameter {79 get { return ( ConstrainedValueParameter<IReplacer>)Parameters["ImmigrationReplacer"]; }72 public IConstrainedValueParameter<IMigrator> MigratorParameter { 73 get { return (IConstrainedValueParameter<IMigrator>)Parameters["Migrator"]; } 74 } 75 public IConstrainedValueParameter<ISelector> EmigrantsSelectorParameter { 76 get { return (IConstrainedValueParameter<ISelector>)Parameters["EmigrantsSelector"]; } 77 } 78 public IConstrainedValueParameter<IReplacer> ImmigrationReplacerParameter { 79 get { return (IConstrainedValueParameter<IReplacer>)Parameters["ImmigrationReplacer"]; } 80 80 } 81 81 private ValueParameter<IntValue> PopulationSizeParameter { … … 85 85 get { return (ValueParameter<IntValue>)Parameters["MaximumGenerations"]; } 86 86 } 87 p rivateConstrainedValueParameter<ISelector> SelectorParameter {88 get { return ( ConstrainedValueParameter<ISelector>)Parameters["Selector"]; }89 } 90 p rivateConstrainedValueParameter<ICrossover> CrossoverParameter {91 get { return ( ConstrainedValueParameter<ICrossover>)Parameters["Crossover"]; }87 public IConstrainedValueParameter<ISelector> SelectorParameter { 88 get { return (IConstrainedValueParameter<ISelector>)Parameters["Selector"]; } 89 } 90 public IConstrainedValueParameter<ICrossover> CrossoverParameter { 91 get { return (IConstrainedValueParameter<ICrossover>)Parameters["Crossover"]; } 92 92 } 93 93 private ValueParameter<PercentValue> MutationProbabilityParameter { 94 94 get { return (ValueParameter<PercentValue>)Parameters["MutationProbability"]; } 95 95 } 96 p rivate OptionalConstrainedValueParameter<IManipulator> MutatorParameter {97 get { return ( OptionalConstrainedValueParameter<IManipulator>)Parameters["Mutator"]; }96 public IConstrainedValueParameter<IManipulator> MutatorParameter { 97 get { return (IConstrainedValueParameter<IManipulator>)Parameters["Mutator"]; } 98 98 } 99 99 private ValueParameter<IntValue> ElitesParameter { … … 109 109 get { return (ValueLookupParameter<DoubleValue>)Parameters["ComparisonFactorUpperBound"]; } 110 110 } 111 p rivate OptionalConstrainedValueParameter<IDiscreteDoubleValueModifier> ComparisonFactorModifierParameter {112 get { return ( OptionalConstrainedValueParameter<IDiscreteDoubleValueModifier>)Parameters["ComparisonFactorModifier"]; }111 public IConstrainedValueParameter<IDiscreteDoubleValueModifier> ComparisonFactorModifierParameter { 112 get { return (IConstrainedValueParameter<IDiscreteDoubleValueModifier>)Parameters["ComparisonFactorModifier"]; } 113 113 } 114 114 private ValueLookupParameter<DoubleValue> MaximumSelectionPressureParameter { … … 205 205 set { ComparisonFactorUpperBoundParameter.Value = value; } 206 206 } 207 p rivateIDiscreteDoubleValueModifier ComparisonFactorModifier {207 public IDiscreteDoubleValueModifier ComparisonFactorModifier { 208 208 get { return ComparisonFactorModifierParameter.Value; } 209 209 set { ComparisonFactorModifierParameter.Value = value; } -
branches/GP-MoveOperators/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/OffspringSelectionGeneticAlgorithm.cs
r8085 r8206 64 64 get { return (ValueParameter<IntValue>)Parameters["PopulationSize"]; } 65 65 } 66 public ConstrainedValueParameter<ISelector> SelectorParameter {67 get { return ( ConstrainedValueParameter<ISelector>)Parameters["Selector"]; }68 } 69 public ConstrainedValueParameter<ICrossover> CrossoverParameter {70 get { return ( ConstrainedValueParameter<ICrossover>)Parameters["Crossover"]; }66 public IConstrainedValueParameter<ISelector> SelectorParameter { 67 get { return (IConstrainedValueParameter<ISelector>)Parameters["Selector"]; } 68 } 69 public IConstrainedValueParameter<ICrossover> CrossoverParameter { 70 get { return (IConstrainedValueParameter<ICrossover>)Parameters["Crossover"]; } 71 71 } 72 72 private ValueParameter<PercentValue> MutationProbabilityParameter { 73 73 get { return (ValueParameter<PercentValue>)Parameters["MutationProbability"]; } 74 74 } 75 public OptionalConstrainedValueParameter<IManipulator> MutatorParameter {76 get { return ( OptionalConstrainedValueParameter<IManipulator>)Parameters["Mutator"]; }75 public IConstrainedValueParameter<IManipulator> MutatorParameter { 76 get { return (IConstrainedValueParameter<IManipulator>)Parameters["Mutator"]; } 77 77 } 78 78 private ValueParameter<IntValue> ElitesParameter { … … 91 91 get { return (ValueLookupParameter<DoubleValue>)Parameters["ComparisonFactorUpperBound"]; } 92 92 } 93 public OptionalConstrainedValueParameter<IDiscreteDoubleValueModifier> ComparisonFactorModifierParameter {94 get { return ( OptionalConstrainedValueParameter<IDiscreteDoubleValueModifier>)Parameters["ComparisonFactorModifier"]; }93 public IConstrainedValueParameter<IDiscreteDoubleValueModifier> ComparisonFactorModifierParameter { 94 get { return (IConstrainedValueParameter<IDiscreteDoubleValueModifier>)Parameters["ComparisonFactorModifier"]; } 95 95 } 96 96 private ValueLookupParameter<DoubleValue> MaximumSelectionPressureParameter { -
branches/GP-MoveOperators/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/SASEGASA.cs
r8085 r8206 70 70 get { return (ValueParameter<IntValue>)Parameters["MaximumGenerations"]; } 71 71 } 72 p rivateConstrainedValueParameter<ISelector> SelectorParameter {73 get { return ( ConstrainedValueParameter<ISelector>)Parameters["Selector"]; }74 } 75 p rivateConstrainedValueParameter<ICrossover> CrossoverParameter {76 get { return ( ConstrainedValueParameter<ICrossover>)Parameters["Crossover"]; }72 public IConstrainedValueParameter<ISelector> SelectorParameter { 73 get { return (IConstrainedValueParameter<ISelector>)Parameters["Selector"]; } 74 } 75 public IConstrainedValueParameter<ICrossover> CrossoverParameter { 76 get { return (IConstrainedValueParameter<ICrossover>)Parameters["Crossover"]; } 77 77 } 78 78 private ValueParameter<PercentValue> MutationProbabilityParameter { 79 79 get { return (ValueParameter<PercentValue>)Parameters["MutationProbability"]; } 80 80 } 81 p rivate OptionalConstrainedValueParameter<IManipulator> MutatorParameter {82 get { return ( OptionalConstrainedValueParameter<IManipulator>)Parameters["Mutator"]; }81 public IConstrainedValueParameter<IManipulator> MutatorParameter { 82 get { return (IConstrainedValueParameter<IManipulator>)Parameters["Mutator"]; } 83 83 } 84 84 private ValueParameter<IntValue> ElitesParameter { … … 94 94 get { return (ValueLookupParameter<DoubleValue>)Parameters["ComparisonFactorUpperBound"]; } 95 95 } 96 p rivate OptionalConstrainedValueParameter<IDiscreteDoubleValueModifier> ComparisonFactorModifierParameter {97 get { return ( OptionalConstrainedValueParameter<IDiscreteDoubleValueModifier>)Parameters["ComparisonFactorModifier"]; }96 public IConstrainedValueParameter<IDiscreteDoubleValueModifier> ComparisonFactorModifierParameter { 97 get { return (IConstrainedValueParameter<IDiscreteDoubleValueModifier>)Parameters["ComparisonFactorModifier"]; } 98 98 } 99 99 private ValueLookupParameter<DoubleValue> MaximumSelectionPressureParameter {
Note: See TracChangeset
for help on using the changeset viewer.