Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/03/12 16:46:35 (12 years ago)
Author:
gkronber
Message:

#1847: merged r8084:8205 from trunk into GP move operators branch

Location:
branches/GP-MoveOperators
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GP-MoveOperators

  • branches/GP-MoveOperators/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs

    r8085 r8206  
    7070      get { return (ValueParameter<PercentValue>)Parameters["MigrationRate"]; }
    7171    }
    72     public ConstrainedValueParameter<IMigrator> MigratorParameter {
    73       get { return (ConstrainedValueParameter<IMigrator>)Parameters["Migrator"]; }
    74     }
    75     public ConstrainedValueParameter<ISelector> EmigrantsSelectorParameter {
    76       get { return (ConstrainedValueParameter<ISelector>)Parameters["EmigrantsSelector"]; }
    77     }
    78     public ConstrainedValueParameter<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"]; }
    8080    }
    8181    private ValueParameter<IntValue> PopulationSizeParameter {
     
    8585      get { return (ValueParameter<IntValue>)Parameters["MaximumGenerations"]; }
    8686    }
    87     public ConstrainedValueParameter<ISelector> SelectorParameter {
    88       get { return (ConstrainedValueParameter<ISelector>)Parameters["Selector"]; }
    89     }
    90     public ConstrainedValueParameter<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"]; }
    9292    }
    9393    private ValueParameter<PercentValue> MutationProbabilityParameter {
    9494      get { return (ValueParameter<PercentValue>)Parameters["MutationProbability"]; }
    9595    }
    96     public OptionalConstrainedValueParameter<IManipulator> MutatorParameter {
    97       get { return (OptionalConstrainedValueParameter<IManipulator>)Parameters["Mutator"]; }
     96    public IConstrainedValueParameter<IManipulator> MutatorParameter {
     97      get { return (IConstrainedValueParameter<IManipulator>)Parameters["Mutator"]; }
    9898    }
    9999    private ValueParameter<IntValue> ElitesParameter {
Note: See TracChangeset for help on using the changeset viewer.