Ignore:
Timestamp:
04/20/10 01:48:30 (12 years ago)
Author:
abeham
Message:

Added an OS Island GA #976
Wired the parallel parameter in the standard Island GA #971

File:
1 edited

Legend:

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

    r3427 r3429  
    3737  public sealed class OffspringSelectionGeneticAlgorithmMainLoop : AlgorithmOperator {
    3838    #region Parameter properties
    39     public ValueParameter<VariableCreator> VariableInitializerParameter {
    40       get { return (ValueParameter<VariableCreator>)Parameters["VariableInitializer"]; }
     39    public OptionalValueParameter<VariableCreator> VariableInitializerParameter {
     40      get { return (OptionalValueParameter<VariableCreator>)Parameters["VariableInitializer"]; }
    4141    }
    4242    public ValueLookupParameter<IRandom> RandomParameter {
     
    119119    private void Initialize() {
    120120      #region Create parameters
    121       Parameters.Add(new ValueParameter<VariableCreator>("VariableInitializer", "Operator to initialize some variables.", new VariableCreator()));
     121      Parameters.Add(new OptionalValueParameter<VariableCreator>("VariableInitializer", "Operator to initialize some variables.", new VariableCreator()));
    122122      Parameters.Add(new ValueLookupParameter<IRandom>("Random", "A pseudo random number generator."));
    123123      Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the problem is a maximization problem, otherwise false."));
Note: See TracChangeset for help on using the changeset viewer.