Changeset 3659 for trunk/sources/HeuristicLab.Algorithms.TabuSearch
- Timestamp:
- 05/06/10 00:47:32 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.TabuSearch/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.TabuSearch/3.3/TabuNeighborhoodAnalyzer.cs
r3658 r3659 29 29 namespace HeuristicLab.Algorithms.TabuSearch { 30 30 public class TabuNeighborhoodAnalyzer : SingleSuccessorOperator, IAnalyzer { 31 public S ubScopesLookupParameter<BoolValue> IsTabuParameter {32 get { return (S ubScopesLookupParameter<BoolValue>)Parameters["IsTabu"]; }31 public ScopeTreeLookupParameter<BoolValue> IsTabuParameter { 32 get { return (ScopeTreeLookupParameter<BoolValue>)Parameters["IsTabu"]; } 33 33 } 34 34 public LookupParameter<PercentValue> PercentTabuParameter { … … 41 41 public TabuNeighborhoodAnalyzer() 42 42 : base() { 43 Parameters.Add(new S ubScopesLookupParameter<BoolValue>("IsTabu", "A value that determines if a move is tabu or not."));43 Parameters.Add(new ScopeTreeLookupParameter<BoolValue>("IsTabu", "A value that determines if a move is tabu or not.")); 44 44 Parameters.Add(new LookupParameter<PercentValue>("PercentTabu", "Indicates how much of the neighborhood is tabu.")); 45 45 Parameters.Add(new LookupParameter<ResultCollection>("Results", "The result collection where the value should be stored.")); -
trunk/sources/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSelector.cs
r3521 r3659 91 91 Parameters.Add(new ValueLookupParameter<BoolValue>("Aspiration", "Whether the default aspiration criterion should be used or not. The default aspiration criterion accepts a tabu move if it results in a better solution than the best solution found so far.", new BoolValue(true))); 92 92 Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "Whether the problem is a maximization or minimization problem (used to decide whether a solution is better")); 93 Parameters.Add(new S ubScopesLookupParameter<DoubleValue>("MoveQuality", "The quality of the move."));94 Parameters.Add(new S ubScopesLookupParameter<BoolValue>("MoveTabu", "The tabu status of the move."));93 Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("MoveQuality", "The quality of the move.")); 94 Parameters.Add(new ScopeTreeLookupParameter<BoolValue>("MoveTabu", "The tabu status of the move.")); 95 95 Parameters.Add(new ValueLookupParameter<BoolValue>("CopySelected", "True if the selected move should be copied.", new BoolValue(false))); 96 96 Parameters.Add(new LookupParameter<BoolValue>("EmptyNeighborhood", "Will be set to true if the neighborhood didn't contain any non-tabu moves, otherwise it is set to false."));
Note: See TracChangeset
for help on using the changeset viewer.