- Timestamp:
- 09/27/10 09:24:42 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/Analyzers/BestKnapsackSolutionAnalyzer.cs
r4068 r4513 31 31 namespace HeuristicLab.Problems.Knapsack { 32 32 /// <summary> 33 /// An operator for analyzing the best solution for a knapsack problem.33 /// An operator for analyzing the best solution for a Knapsack problem. 34 34 /// </summary> 35 [Item("BestKnapsackSolutionAnalyzer", "An operator for analyzing the best solution for a knapsack problem.")]35 [Item("BestKnapsackSolutionAnalyzer", "An operator for analyzing the best solution for a Knapsack problem.")] 36 36 [StorableClass] 37 37 class BestKnapsackSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer { … … 70 70 : base() { 71 71 Parameters.Add(new LookupParameter<BoolValue>("Maximization", "True if the problem is a maximization problem.")); 72 Parameters.Add(new ScopeTreeLookupParameter<BinaryVector>("BinaryVector", "The knapsack solutions from which the best solution should be visualized."));72 Parameters.Add(new ScopeTreeLookupParameter<BinaryVector>("BinaryVector", "The Knapsack solutions from which the best solution should be visualized.")); 73 73 Parameters.Add(new LookupParameter<IntValue>("KnapsackCapacity", "Capacity of the Knapsack.")); 74 74 Parameters.Add(new LookupParameter<IntArray>("Weights", "The weights of the items.")); 75 75 Parameters.Add(new LookupParameter<IntArray>("Values", "The values of the items.")); 76 76 77 Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The qualities of the knapsack solutions which should be visualized."));78 Parameters.Add(new LookupParameter<KnapsackSolution>("BestSolution", "The best knapsack solution."));77 Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The qualities of the Knapsack solutions which should be visualized.")); 78 Parameters.Add(new LookupParameter<KnapsackSolution>("BestSolution", "The best Knapsack solution.")); 79 79 Parameters.Add(new ValueLookupParameter<ResultCollection>("Results", "The result collection where the knapsack solution should be stored.")); 80 80 Parameters.Add(new LookupParameter<DoubleValue>("BestKnownQuality", "The quality of the best known solution."));
Note: See TracChangeset
for help on using the changeset viewer.