- Timestamp:
- 03/22/10 10:36:01 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Knapsack.Views/3.3/HeuristicLab.Problems.Knapsack.Views-3.3.csproj
r3082 r3166 83 83 <ItemGroup> 84 84 <Compile Include="HeuristicLabProblemsKnapsackViewsPlugin.cs" /> 85 <Compile Include="Properties\AssemblyInfo.cs" /> 86 <Compile Include="KnapsackView.cs"> 85 <Compile Include="KnapsackProblemView.cs"> 87 86 <SubType>UserControl</SubType> 88 87 </Compile> 89 <Compile Include="Knapsack View.Designer.cs">90 <DependentUpon>Knapsack View.cs</DependentUpon>88 <Compile Include="KnapsackProblemView.Designer.cs"> 89 <DependentUpon>KnapsackProblemView.cs</DependentUpon> 91 90 </Compile> 91 <Compile Include="Properties\AssemblyInfo.cs" /> 92 92 </ItemGroup> 93 93 <ItemGroup> -
trunk/sources/HeuristicLab.Problems.Knapsack.Views/3.3/KnapsackProblemView.Designer.cs
r3163 r3166 1 1 namespace HeuristicLab.Problems.Knapsack.Views { 2 partial class Knapsack View {2 partial class KnapsackProblemView { 3 3 /// <summary> 4 4 /// Required designer variable. -
trunk/sources/HeuristicLab.Problems.Knapsack.Views/3.3/KnapsackProblemView.cs
r3163 r3166 9 9 10 10 namespace HeuristicLab.Problems.Knapsack.Views { 11 [View("Knapsack View")]12 [Content(typeof(Knapsack ), true)]13 public partial class Knapsack View : HeuristicLab.Optimization.Views.ProblemView {14 public new Knapsack Content {15 get { return (Knapsack )base.Content; }11 [View("KnapsackProblem View")] 12 [Content(typeof(KnapsackProblem), true)] 13 public partial class KnapsackProblemView : HeuristicLab.Optimization.Views.ProblemView { 14 public new KnapsackProblem Content { 15 get { return (KnapsackProblem)base.Content; } 16 16 set { base.Content = value; } 17 17 } … … 20 20 /// Initializes a new instance of <see cref="ItemBaseView"/>. 21 21 /// </summary> 22 public Knapsack View() {22 public KnapsackProblemView() { 23 23 InitializeComponent(); 24 24 } … … 27 27 /// </summary> 28 28 /// <param name="item">The item that should be displayed.</param> 29 public Knapsack View(Knapsackcontent)29 public KnapsackProblemView(KnapsackProblem content) 30 30 : this() { 31 31 Content = content; -
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.