Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/13/10 04:37:49 (14 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • implemented reviewers' comments
  • added additional plugins HeuristicLab.Evolutionary, HeuristicLab.Permutation, HeuristicLab.Selection, and HeuristicLab.Routing.TSP
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/VariableCollection.cs

    r2687 r2790  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2008 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2020#endregion
    2121
    22 using System;
    23 using System.Collections;
    2422using System.Collections.Generic;
    25 using System.Collections.ObjectModel;
    26 using System.Text;
    27 using System.Drawing;
    2823using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    29 using HeuristicLab.Common.Resources;
    3024
    3125namespace HeuristicLab.Core {
     
    3327  [Item("VariableCollection", "Represents a collection of variables.")]
    3428  [Creatable("Test")]
    35   public class VariableCollection : NamedItemCollection<IVariable>, IItem {
    36     public virtual string ItemName {
    37       get { return ItemAttribute.GetName(this.GetType()); }
    38     }
    39     public virtual string ItemDescription {
    40       get { return ItemAttribute.GetDescription(this.GetType()); }
    41     }
    42     public virtual Image ItemImage {
    43       get { return VS2008ImageLibrary.Class; }
    44     }
    45 
     29  public class VariableCollection : NamedItemCollection<IVariable> {
    4630    public VariableCollection() : base() { }
    4731    public VariableCollection(int capacity) : base(capacity) { }
    4832    public VariableCollection(IEnumerable<IVariable> collection) : base(collection) { }
    49 
    50     public override string ToString() {
    51       return ItemName;
    52     }
    5333  }
    5434}
Note: See TracChangeset for help on using the changeset viewer.