Changeset 7419 for branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Operators/GQAPCrossover.cs
- Timestamp:
- 01/27/12 13:24:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Operators/GQAPCrossover.cs
r7319 r7419 36 36 get { return false; } 37 37 } 38 public ILookupParameter<IRandom> RandomParameter { 39 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 40 } 38 41 39 public IScopeTreeLookupParameter<IntegerVector> ParentsParameter { 42 40 get { return (ScopeTreeLookupParameter<IntegerVector>)Parameters["Parents"]; } … … 44 42 public ILookupParameter<IntegerVector> ChildParameter { 45 43 get { return (ILookupParameter<IntegerVector>)Parameters["Child"]; } 44 } 45 public ILookupParameter<IRandom> RandomParameter { 46 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 46 47 } 47 48 … … 51 52 protected GQAPCrossover() 52 53 : base() { 53 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic crossover operators."));54 54 Parameters.Add(new ScopeTreeLookupParameter<IntegerVector>("Parents", "The parent vectors which should be crossed.", "Assignment")); 55 55 Parameters.Add(new LookupParameter<IntegerVector>("Child", "The child vector resulting from the crossover.", "Assignment")); 56 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic crossover operators.")); 56 57 } 57 58
Note: See TracChangeset
for help on using the changeset viewer.