- Timestamp:
- 05/06/10 00:47:32 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/BlendAlphaBetaCrossover.cs
r3376 r3659 50 50 /// The quality of the parents. 51 51 /// </summary> 52 public S ubScopesLookupParameter<DoubleValue> QualityParameter {53 get { return (S ubScopesLookupParameter<DoubleValue>)Parameters["Quality"]; }52 public ScopeTreeLookupParameter<DoubleValue> QualityParameter { 53 get { return (ScopeTreeLookupParameter<DoubleValue>)Parameters["Quality"]; } 54 54 } 55 55 /// <summary> … … 73 73 : base() { 74 74 Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "Whether the problem is a maximization problem or not.")); 75 Parameters.Add(new S ubScopesLookupParameter<DoubleValue>("Quality", "The quality values of the parents."));75 Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The quality values of the parents.")); 76 76 Parameters.Add(new ValueLookupParameter<DoubleValue>("Alpha", "The value for alpha.", new DoubleValue(0.75))); 77 77 Parameters.Add(new ValueLookupParameter<DoubleValue>("Beta", "The value for beta.", new DoubleValue(0.25))); -
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/HeuristicCrossover.cs
r3376 r3659 47 47 /// The quality of the parents. 48 48 /// </summary> 49 public S ubScopesLookupParameter<DoubleValue> QualityParameter {50 get { return (S ubScopesLookupParameter<DoubleValue>)Parameters["Quality"]; }49 public ScopeTreeLookupParameter<DoubleValue> QualityParameter { 50 get { return (ScopeTreeLookupParameter<DoubleValue>)Parameters["Quality"]; } 51 51 } 52 52 … … 58 58 : base() { 59 59 Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "Whether the problem is a maximization problem or not.")); 60 Parameters.Add(new S ubScopesLookupParameter<DoubleValue>("Quality", "The quality values of the parents."));60 Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The quality values of the parents.")); 61 61 } 62 62 -
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/MultiRealVectorCrossover.cs
r3593 r3659 55 55 public MultiRealVectorCrossover() 56 56 : base() { 57 Parameters.Add(new S ubScopesLookupParameter<RealVector>("Parents", "The parent real vector which should be crossed."));57 Parameters.Add(new ScopeTreeLookupParameter<RealVector>("Parents", "The parent real vector which should be crossed.")); 58 58 ParentsParameter.ActualName = "RealVector"; 59 59 Parameters.Add(new LookupParameter<RealVector>("Child", "The child real vector resulting from the crossover."));
Note: See TracChangeset
for help on using the changeset viewer.