Changeset 3659 for trunk/sources/HeuristicLab.Encodings.RealVectorEncoding
- Timestamp:
- 05/06/10 00:47:32 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified 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))); -
TabularUnified 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 -
TabularUnified 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.")); -
TabularUnified trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorCrossover.cs ¶
r3376 r3659 43 43 } 44 44 public ILookupParameter<ItemArray<RealVector>> ParentsParameter { 45 get { return (S ubScopesLookupParameter<RealVector>)Parameters["Parents"]; }45 get { return (ScopeTreeLookupParameter<RealVector>)Parameters["Parents"]; } 46 46 } 47 47 public ILookupParameter<RealVector> ChildParameter { … … 55 55 : base() { 56 56 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic crossover operators.")); 57 Parameters.Add(new S ubScopesLookupParameter<RealVector>("Parents", "The parent vectors which should be crossed."));57 Parameters.Add(new ScopeTreeLookupParameter<RealVector>("Parents", "The parent vectors which should be crossed.")); 58 58 Parameters.Add(new LookupParameter<RealVector>("Child", "The child vector resulting from the crossover.")); 59 59 Parameters.Add(new ValueLookupParameter<DoubleMatrix>("Bounds", "The lower and upper bounds of the real vector.")); -
TabularUnified trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/StrategyParameters/StdDevStrategyVectorCrossover.cs ¶
r3450 r3659 48 48 : base() { 49 49 Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator to use.")); 50 Parameters.Add(new S ubScopesLookupParameter<RealVector>("ParentStrategyParameter", "The strategy parameters to cross."));50 Parameters.Add(new ScopeTreeLookupParameter<RealVector>("ParentStrategyParameter", "The strategy parameters to cross.")); 51 51 Parameters.Add(new LookupParameter<RealVector>("StrategyParameter", "The crossed strategy parameter.")); 52 52 ParentsParameter.ActualName = "StrategyParameter";
Note: See TracChangeset
for help on using the changeset viewer.