- Timestamp:
- 03/15/10 23:49:54 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Operators/3.3/ChildrenCreator.cs
r3021 r3048 43 43 get { return (ScopeParameter)Parameters["CurrentScope"]; } 44 44 } 45 public ValueLookupParameter<Int Data> ParentsPerChildParameter {46 get { return (ValueLookupParameter<Int Data>)Parameters["ParentsPerChild"]; }45 public ValueLookupParameter<IntValue> ParentsPerChildParameter { 46 get { return (ValueLookupParameter<IntValue>)Parameters["ParentsPerChild"]; } 47 47 } 48 48 public IScope CurrentScope { 49 49 get { return CurrentScopeParameter.ActualValue; } 50 50 } 51 public Int DataParentsPerChild {51 public IntValue ParentsPerChild { 52 52 get { return ParentsPerChildParameter.Value; } 53 53 set { ParentsPerChildParameter.Value = value; } … … 57 57 : base() { 58 58 Parameters.Add(new ScopeParameter("CurrentScope", "The current scope whose sub-scopes represent the parents.")); 59 Parameters.Add(new ValueLookupParameter<Int Data>("ParentsPerChild", "The number of parents that should be crossed per child. Note that some of the typical crossover operators require exactly two parents.", new IntData(2)));59 Parameters.Add(new ValueLookupParameter<IntValue>("ParentsPerChild", "The number of parents that should be crossed per child. Note that some of the typical crossover operators require exactly two parents.", new IntValue(2))); 60 60 } 61 61
Note: See TracChangeset
for help on using the changeset viewer.