Changeset 7419 for branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Operators/GQAPManipulator.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/GQAPManipulator.cs
r7418 r7419 31 31 [Item("GQAPManipulator", "A base class for operators that manipulate assignment vectors of the GeneralizedQuadraticAssignment problems.")] 32 32 [StorableClass] 33 public abstract class GQAPManipulator : SingleSuccessorOperator, I GQAPManipulator, IStochasticOperator {33 public abstract class GQAPManipulator : SingleSuccessorOperator, IAssignmentAwareGQAPOperator, IManipulator, IStochasticOperator { 34 34 public override bool CanChangeName { 35 35 get { return false; } 36 36 } 37 38 public ILookupParameter<IntegerVector> AssignmentParameter { 39 get { return (ILookupParameter<IntegerVector>)Parameters["Assignment"]; } 40 } 37 41 public ILookupParameter<IRandom> RandomParameter { 38 42 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 39 }40 public ILookupParameter<IntegerVector> AssignmentParameter {41 get { return (ILookupParameter<IntegerVector>)Parameters["IntegerVector"]; }42 43 } 43 44 … … 47 48 protected GQAPManipulator() 48 49 : base() { 50 Parameters.Add(new LookupParameter<IntegerVector>("Assignment", GQAPSolutionCreator.AssignmentDescription)); 49 51 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic manipulation operators.")); 50 Parameters.Add(new LookupParameter<IntegerVector>("IntegerVector", "The assignment vector which should be manipulated."));51 52 } 52 53
Note: See TracChangeset
for help on using the changeset viewer.