- Timestamp:
- 04/20/10 01:48:30 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm-3.3.csproj
r3384 r3429 81 81 <ItemGroup> 82 82 <Compile Include="HeuristicLabAlgorithmsOffspringSelectionGeneticAlgorithmPlugin.cs" /> 83 <Compile Include="OffspringSelectionIslandGeneticAlgorithm.cs" /> 84 <Compile Include="OffspringSelectionIslandGeneticAlgorithmMainLoop.cs" /> 83 85 <Compile Include="OffspringSelectionGeneticAlgorithm.cs" /> 84 86 <Compile Include="OffspringSelectionGeneticAlgorithmMainLoop.cs" /> -
trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/OffspringSelectionGeneticAlgorithmMainLoop.cs
r3427 r3429 37 37 public sealed class OffspringSelectionGeneticAlgorithmMainLoop : AlgorithmOperator { 38 38 #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"]; } 41 41 } 42 42 public ValueLookupParameter<IRandom> RandomParameter { … … 119 119 private void Initialize() { 120 120 #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())); 122 122 Parameters.Add(new ValueLookupParameter<IRandom>("Random", "A pseudo random number generator.")); 123 123 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.