Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/12/16 20:03:45 (8 years ago)
Author:
gkronber
Message:

#1966: simplified class names

File:
1 moved

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Problem.cs

    r14048 r14049  
    3535
    3636namespace HeuristicLab.Problems.BinPacking {
    37   [Item("BinPackingProblem", "Abstract class that represents a BinPacking Problem")]
    3837  [StorableClass]
    39   public abstract class BinPackingProblem<D, B, I> : SingleObjectiveHeuristicOptimizationProblem<IPackingPlanEvaluationAlgorithm, IPackingSolutionCreator>
     38  public abstract class Problem<D, B, I> : SingleObjectiveHeuristicOptimizationProblem<IPackingPlanEvaluationAlgorithm, IPackingSolutionCreator>
    4039    where D : class, IPackingPosition
    4140    where B : PackingShape<D>, new()
     
    9291
    9392    [StorableConstructor]
    94     protected BinPackingProblem(bool deserializing) : base(deserializing) { }
    95     protected BinPackingProblem(BinPackingProblem<D,B,I> original, Cloner cloner)
     93    protected Problem(bool deserializing) : base(deserializing) { }
     94    protected Problem(Problem<D,B,I> original, Cloner cloner)
    9695      : base(original, cloner) {
    9796      InitializeEventHandlers();
    9897    }
    9998
    100     protected BinPackingProblem(IPackingPlanEvaluationAlgorithm e) : this(e, new MultiComponentVectorRandomCreator()) { }
    101 
    102     protected BinPackingProblem(IPackingPlanEvaluationAlgorithm e, IPackingSolutionCreator c) : base (e, c){
     99    protected Problem(IPackingPlanEvaluationAlgorithm e) : this(e, new MultiComponentVectorRandomCreator()) { }
     100
     101    protected Problem(IPackingPlanEvaluationAlgorithm e, IPackingSolutionCreator c) : base (e, c){
    103102      Parameters.Add(new OptionalValueParameter<PackingPlan<D, B, I>>("BestKnownSolution", "The best known solution of this bin-packing instance."));
    104103      Parameters.Add(new ValueParameter<ItemList<I>>("PackingItemMeasures", "Packing-item data defining the measures of the different items that need to be packed.", new ItemList<I>()));
Note: See TracChangeset for help on using the changeset viewer.