Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/21/10 22:05:40 (15 years ago)
Author:
abeham
Message:

added first draft of SASEGASA #839

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/IslandOffspringSelectionGeneticAlgorithm.cs

    r3450 r3479  
    3939  /// An offspring selection island genetic algorithm.
    4040  /// </summary>
    41   [Item("Offspring Selection Island Genetic Algorithm", "An offspring selection island genetic algorithm.")]
     41  [Item("Island Offspring Selection Genetic Algorithm", "An island offspring selection genetic algorithm.")]
    4242  [Creatable("Algorithms")]
    4343  [StorableClass]
    44   public sealed class OffspringSelectionIslandGeneticAlgorithm : EngineAlgorithm {
     44  public sealed class IslandOffspringSelectionGeneticAlgorithm : EngineAlgorithm {
    4545
    4646    #region Problem Properties
     
    229229      get { return (SolutionsCreator)IslandProcessor.Operator; }
    230230    }
    231     private OffspringSelectionIslandGeneticAlgorithmMainLoop MainLoop {
    232       get { return (OffspringSelectionIslandGeneticAlgorithmMainLoop)IslandProcessor.Successor; }
     231    private IslandOffspringSelectionGeneticAlgorithmMainLoop MainLoop {
     232      get { return (IslandOffspringSelectionGeneticAlgorithmMainLoop)IslandProcessor.Successor; }
    233233    }
    234234    #endregion
    235235
    236236    [StorableConstructor]
    237     private OffspringSelectionIslandGeneticAlgorithm(bool deserializing) : base(deserializing) { }
    238     public OffspringSelectionIslandGeneticAlgorithm()
     237    private IslandOffspringSelectionGeneticAlgorithm(bool deserializing) : base(deserializing) { }
     238    public IslandOffspringSelectionGeneticAlgorithm()
    239239      : base() {
    240240      Parameters.Add(new ValueParameter<IntValue>("Seed", "The random seed used to initialize the new pseudo random number generator.", new IntValue(0)));
     
    246246      Parameters.Add(new ConstrainedValueParameter<ISelector>("EmigrantsSelector", "Selects the individuals that will be migrated."));
    247247      Parameters.Add(new ConstrainedValueParameter<ISelector>("ImmigrationSelector", "Selects the population from the unification of the original population and the immigrants."));
    248       Parameters.Add(new ValueParameter<IntValue>("PopulationSize", "The size of the population of solutions.", new IntValue(100)));
     248      Parameters.Add(new ValueParameter<IntValue>("PopulationSize", "The size of the population of solutions of each island.", new IntValue(100)));
    249249      Parameters.Add(new ValueParameter<IntValue>("MaximumMigrations", "The maximum number of migrations that should occur.", new IntValue(100)));
    250250      Parameters.Add(new ConstrainedValueParameter<ISelector>("Selector", "The operator used to select solutions for reproduction."));
     
    265265      UniformSubScopesProcessor ussp1 = new UniformSubScopesProcessor();
    266266      SolutionsCreator solutionsCreator = new SolutionsCreator();
    267       OffspringSelectionIslandGeneticAlgorithmMainLoop mainLoop = new OffspringSelectionIslandGeneticAlgorithmMainLoop();
     267      IslandOffspringSelectionGeneticAlgorithmMainLoop mainLoop = new IslandOffspringSelectionGeneticAlgorithmMainLoop();
    268268      OperatorGraph.InitialOperator = randomCreator;
    269269
     
    313313
    314314    public override IDeepCloneable Clone(Cloner cloner) {
    315       OffspringSelectionIslandGeneticAlgorithm clone = (OffspringSelectionIslandGeneticAlgorithm)base.Clone(cloner);
     315      IslandOffspringSelectionGeneticAlgorithm clone = (IslandOffspringSelectionGeneticAlgorithm)base.Clone(cloner);
    316316      clone.Initialize();
    317317      return clone;
Note: See TracChangeset for help on using the changeset viewer.