- Timestamp:
- 07/02/15 11:02:16 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/FitnessLandscapeAnalysis/HeuristicLab.Problems.NK/NKMoveEvaluator.cs
r12566 r12569 25 25 using HeuristicLab.Encodings.BinaryVectorEncoding; 26 26 using HeuristicLab.Operators; 27 using HeuristicLab.Optimization;28 27 using HeuristicLab.Parameters; 29 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 31 30 namespace HeuristicLab.Problems.NK { 32 31 33 [Item("NKMoveEvaluator", "A base class for operators which evaluate moves on the NK Lan scape.")]32 [Item("NKMoveEvaluator", "A base class for operators which evaluate moves on the NK Landscape.")] 34 33 [StorableClass] 35 public abstract class NKMoveEvaluator : SingleSuccessorOperator, INKMoveEvaluator, I MoveOperator, IBinaryVectorMoveOperator {34 public abstract class NKMoveEvaluator : SingleSuccessorOperator, INKMoveEvaluator, IBinaryVectorMoveOperator { 36 35 37 36 public ILookupParameter<DoubleValue> QualityParameter { … … 44 43 get { return (ILookupParameter<BinaryVector>)Parameters["BinaryVector"]; } 45 44 } 46 public LookupParameter<BoolMatrix> GeneInteractionsParameter {47 get { return ( LookupParameter<BoolMatrix>)Parameters["GeneInteractions"]; }45 public ILookupParameter<BoolMatrix> GeneInteractionsParameter { 46 get { return (ILookupParameter<BoolMatrix>)Parameters["GeneInteractions"]; } 48 47 } 49 public LookupParameter<IntValue> InteractionSeedParameter {50 get { return ( LookupParameter<IntValue>)Parameters["InteractionSeed"]; }48 public ILookupParameter<IntValue> InteractionSeedParameter { 49 get { return (ILookupParameter<IntValue>)Parameters["InteractionSeed"]; } 51 50 } 52 public LookupParameter<DoubleArray> WeightsParameter {53 get { return ( LookupParameter<DoubleArray>)Parameters["Weights"]; }51 public ILookupParameter<DoubleArray> WeightsParameter { 52 get { return (ILookupParameter<DoubleArray>)Parameters["Weights"]; } 54 53 } 55 54
Note: See TracChangeset
for help on using the changeset viewer.