Changeset 3166 for trunk/sources/HeuristicLab.Problems.Knapsack
- Timestamp:
- 03/22/10 10:36:01 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.Knapsack/3.3
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/HeuristicLab.Problems.Knapsack-3.3.csproj
r3124 r3166 86 86 <Compile Include="Interfaces\IKnapsackSolutionsVisualizer.cs" /> 87 87 <Compile Include="Interfaces\IKnapsackMoveEvaluator.cs" /> 88 <Compile Include="Knapsack .cs" />88 <Compile Include="KnapsackProblem.cs" /> 89 89 <Compile Include="MoveEvaluators\KnapsackMoveEvaluator.cs" /> 90 90 <Compile Include="MoveEvaluators\KnapsackOneBitflipMoveEvaluator.cs" /> -
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
r3163 r3166 34 34 35 35 namespace HeuristicLab.Problems.Knapsack { 36 [Item("Knapsack ", "Represents a Knapsack Problem.")]36 [Item("KnapsackProblem", "Represents a Knapsack Problem.")] 37 37 [Creatable("Problems")] 38 38 [StorableClass] 39 public sealed class Knapsack : ParameterizedNamedItem, ISingleObjectiveProblem {39 public sealed class KnapsackProblem : ParameterizedNamedItem, ISingleObjectiveProblem { 40 40 public override Image ItemImage { 41 41 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Type; } … … 157 157 } 158 158 159 public Knapsack ()159 public KnapsackProblem() 160 160 : base() { 161 161 RandomBinaryVectorCreator creator = new RandomBinaryVectorCreator(); … … 184 184 185 185 [StorableConstructor] 186 private Knapsack (bool deserializing) : base() { }186 private KnapsackProblem(bool deserializing) : base() { } 187 187 188 188 public override IDeepCloneable Clone(Cloner cloner) { 189 Knapsack clone = (Knapsack)base.Clone(cloner);189 KnapsackProblem clone = (KnapsackProblem)base.Clone(cloner); 190 190 clone.Initialize(); 191 191 return clone;
Note: See TracChangeset
for help on using the changeset viewer.