Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/22/10 10:36:01 (15 years ago)
Author:
svonolfe
Message:

Renamed Knapsack to KnapsackProblem and KnapsackView to KnapsackProblemView (#917)

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  
    8686    <Compile Include="Interfaces\IKnapsackSolutionsVisualizer.cs" />
    8787    <Compile Include="Interfaces\IKnapsackMoveEvaluator.cs" />
    88     <Compile Include="Knapsack.cs" />
     88    <Compile Include="KnapsackProblem.cs" />
    8989    <Compile Include="MoveEvaluators\KnapsackMoveEvaluator.cs" />
    9090    <Compile Include="MoveEvaluators\KnapsackOneBitflipMoveEvaluator.cs" />
  • trunk/sources/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs

    r3163 r3166  
    3434
    3535namespace HeuristicLab.Problems.Knapsack {
    36   [Item("Knapsack", "Represents a Knapsack Problem.")]
     36  [Item("KnapsackProblem", "Represents a Knapsack Problem.")]
    3737  [Creatable("Problems")]
    3838  [StorableClass]
    39   public sealed class Knapsack : ParameterizedNamedItem, ISingleObjectiveProblem {
     39  public sealed class KnapsackProblem : ParameterizedNamedItem, ISingleObjectiveProblem {
    4040    public override Image ItemImage {
    4141      get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Type; }
     
    157157    }
    158158
    159     public Knapsack()
     159    public KnapsackProblem()
    160160      : base() {
    161161      RandomBinaryVectorCreator creator = new RandomBinaryVectorCreator();
     
    184184
    185185    [StorableConstructor]
    186     private Knapsack(bool deserializing) : base() { }
     186    private KnapsackProblem(bool deserializing) : base() { }
    187187
    188188    public override IDeepCloneable Clone(Cloner cloner) {
    189       Knapsack clone = (Knapsack)base.Clone(cloner);
     189      KnapsackProblem clone = (KnapsackProblem)base.Clone(cloner);
    190190      clone.Initialize();
    191191      return clone;
Note: See TracChangeset for help on using the changeset viewer.