Changeset 3074 for trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/TwoOptMoveMaker.cs
- Timestamp:
- 03/16/10 21:29:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/TwoOptMoveMaker.cs
r3053 r3074 33 33 public class TwoOptMoveMaker : SingleSuccessorOperator, ITwoOptPermutationMoveOperator, IMoveMaker { 34 34 public ILookupParameter<DoubleValue> QualityParameter { 35 get { return ( LookupParameter<DoubleValue>)Parameters["Quality"]; }35 get { return (ILookupParameter<DoubleValue>)Parameters["Quality"]; } 36 36 } 37 37 public ILookupParameter<DoubleValue> MoveQualityParameter { 38 get { return ( LookupParameter<DoubleValue>)Parameters["MoveQuality"]; }38 get { return (ILookupParameter<DoubleValue>)Parameters["MoveQuality"]; } 39 39 } 40 40 public ILookupParameter<TwoOptMove> TwoOptMoveParameter { 41 get { return ( LookupParameter<TwoOptMove>)Parameters["Move"]; }41 get { return (ILookupParameter<TwoOptMove>)Parameters["TwoOptMove"]; } 42 42 } 43 43 public ILookupParameter<Permutation> PermutationParameter { … … 48 48 : base() { 49 49 Parameters.Add(new LookupParameter<DoubleValue>("Quality", "The quality of the solution.")); 50 Parameters.Add(new LookupParameter<TwoOptMove>(" Move", "The move to evaluate."));50 Parameters.Add(new LookupParameter<TwoOptMove>("TwoOptMove", "The move to evaluate.")); 51 51 Parameters.Add(new LookupParameter<DoubleValue>("MoveQuality", "The relative quality of the move.")); 52 52 Parameters.Add(new LookupParameter<Permutation>("Permutation", "The solution as permutation.")); … … 64 64 return base.Apply(); 65 65 } 66 67 public override bool CanChangeName { 68 get { return false; } 69 } 66 70 } 67 71 }
Note: See TracChangeset
for help on using the changeset viewer.