Changeset 7419 for branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Moves/StochasticNMoveSingleMoveGenerator.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/Moves/StochasticNMoveSingleMoveGenerator.cs
r7413 r7419 32 32 [Item("Stochastic n-move SingleMoveGenerator", "Randomly samples a single n-move.")] 33 33 [StorableClass] 34 public class StochasticNMoveSingleMoveGenerator : GQAPNMoveGenerator, I LocationAwareGQAPOperator, ISingleMoveGenerator, IStochasticOperator {34 public class StochasticNMoveSingleMoveGenerator : GQAPNMoveGenerator, ICapacitiesAwareGQAPOperator, IStochasticOperator, ISingleMoveGenerator { 35 35 36 public ILookupParameter<DoubleArray> CapacitiesParameter { 37 get { return (ILookupParameter<DoubleArray>)Parameters["Capacities"]; } 38 } 36 39 public ILookupParameter<IRandom> RandomParameter { 37 40 get { return (ILookupParameter<IRandom>)Parameters["Random"]; } 38 }39 public ILookupParameter<DoubleArray> CapacitiesParameter {40 get { return (ILookupParameter<DoubleArray>)Parameters["Capacities"]; }41 41 } 42 42 … … 47 47 : base() { 48 48 Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator that should be used.")); 49 Parameters.Add(new LookupParameter<DoubleArray>("Capacities", "Capacities of the locations."));49 Parameters.Add(new LookupParameter<DoubleArray>("Capacities", GeneralizedQuadraticAssignmentProblem.CapacitiesDescription)); 50 50 } 51 51
Note: See TracChangeset
for help on using the changeset viewer.