Changeset 4513 for trunk/sources/HeuristicLab.Problems.Knapsack
- Timestamp:
- 09/27/10 09:24:42 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.Knapsack/3.3
- Files:
-
- 4 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.")); -
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/Evaluators/KnapsackEvaluator.cs
r4068 r4513 30 30 namespace HeuristicLab.Problems.Knapsack { 31 31 /// <summary> 32 /// A base class for operators which evaluate sKnapsack solutions given in BinaryVector encoding.32 /// A base class for operators which evaluate Knapsack solutions given in BinaryVector encoding. 33 33 /// </summary> 34 34 [Item("KnapsackEvaluator", "Evaluates solutions for the Knapsack problem.")] -
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
r4419 r4513 34 34 35 35 namespace HeuristicLab.Problems.Knapsack { 36 [Item("Knapsack Problem", "Represents a Knapsack Problem.")]36 [Item("Knapsack Problem", "Represents a Knapsack problem.")] 37 37 [Creatable("Problems")] 38 38 [StorableClass] -
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/KnapsackSolution.cs
r4068 r4513 32 32 /// Represents a knapsack solution which can be visualized in the GUI. 33 33 /// </summary> 34 [Item("KnapsackSolution", "Represents a knapsack solution which can be visualized in the GUI.")]34 [Item("KnapsackSolution", "Represents a Knapsack solution which can be visualized in the GUI.")] 35 35 [StorableClass] 36 36 public class KnapsackSolution : Item {
Note: See TracChangeset
for help on using the changeset viewer.