Free cookie consent management tool by TermsFeed Policy Generator

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

#1966: renamed evaluators

Location:
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/HeuristicLab.Problems.BinPacking2D-3.3.csproj

    r14049 r14050  
    174174    <Compile Include="PackingItem.cs" />
    175175    <Compile Include="PackingPosition.cs" />
    176     <Compile Include="PackingRatioRectangularIdenticalBinEvaluator.cs" />
     176    <Compile Include="PackingRatioEvaluator.cs" />
    177177    <Compile Include="PackingShape.cs" />
    178178    <Compile Include="Plugin.cs" />
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/PackingRatioEvaluator.cs

    r14049 r14050  
    2727
    2828namespace HeuristicLab.Problems.BinPacking2D {
    29   [Item("Packing-Ratio Rectangular Identical-Bin Evaluator", "Represents an evaluation-algorithm for rectangular-shaped bin-packing problems with identical bins which calculates the ratio between packed and unpacked space. Found in Falkenauer:1996")]
     29  [Item("Packing-Ratio Evaluator (2d)", "Calculates the ratio between packed and unpacked space. Found in Falkenauer:1996")]
    3030  [StorableClass]
    31   public class PackingRatioRectangularIdenticalBinEvaluator : PackingRatioRegularIdenticalBinEvaluator<PackingPosition, PackingShape, PackingItem> {
     31  public class PackingRatioEvaluator : PackingRatioEvaluator<PackingPosition, PackingShape, PackingItem> {
    3232
    3333    [StorableConstructor]
    34     protected PackingRatioRectangularIdenticalBinEvaluator (bool deserializing) : base(deserializing) { }
    35     protected PackingRatioRectangularIdenticalBinEvaluator (PackingRatioRectangularIdenticalBinEvaluator original, Cloner cloner)
     34    protected PackingRatioEvaluator (bool deserializing) : base(deserializing) { }
     35    protected PackingRatioEvaluator (PackingRatioEvaluator original, Cloner cloner)
    3636      : base(original, cloner) {
    3737    }
    38     public PackingRatioRectangularIdenticalBinEvaluator() : base() { }
     38    public PackingRatioEvaluator() : base() { }
    3939    public override IDeepCloneable Clone(Cloner cloner) {
    40       return new PackingRatioRectangularIdenticalBinEvaluator(this, cloner);
     40      return new PackingRatioEvaluator(this, cloner);
    4141    }
    4242  }
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/Problem.cs

    r14049 r14050  
    164164    }
    165165
    166     protected override IPackingPlanEvaluator CreateDefaultEvaluator() {
    167       return new PackingRatioRectangularIdenticalBinEvaluator();
     166    protected override IEvaluator CreateDefaultEvaluator() {
     167      return new PackingRatioEvaluator();
    168168    }
    169169
Note: See TracChangeset for help on using the changeset viewer.