Ignore:
Timestamp:
07/20/16 14:02:36 (5 years ago)
Author:
gkronber
Message:

#1966: refactoring of bin packing implementation

File:
1 edited

Legend:

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

    r14055 r14128  
    2626using HeuristicLab.PluginInfrastructure;
    2727using HeuristicLab.Encodings.PackingEncoding.PackingSequence;
    28 using HeuristicLab.Encodings.PackingEncoding.GroupingVector;
    2928using HeuristicLab.Problems.Instances;
    30 using HeuristicLab.Encodings.PackingEncoding.MultiComponentVector;
    3129using HeuristicLab.Data;
    32 using System;
    3330using HeuristicLab.Problems.BinPacking;
    3431
     
    3734  [StorableClass]
    3835  [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 300)]
    39   // TODO: only support 2d BPPData
    4036  public class Problem : Problem<PackingPosition, PackingShape, PackingItem>, IProblemInstanceConsumer<BPPData>, IProblemInstanceExporter<BPPData> {
    4137
     
    131127      if (SolutionCreator is PackingSequenceRandomCreator) {
    132128        PackingSolutionDecoderParameter.ValidValues.UnionWith(ApplicationManager.Manager.GetInstances<I2DPSDecoder>());
    133       } else if (SolutionCreator is GroupingVectorRandomCreator) {
     129      } /*else if (SolutionCreator is GroupingVectorRandomCreator) {
    134130        PackingSolutionDecoderParameter.ValidValues.UnionWith(ApplicationManager.Manager.GetInstances<I2DGVDecoder>());
    135131      } else if (SolutionCreator is MultiComponentVectorRandomCreator) {
    136132        PackingSolutionDecoderParameter.ValidValues.UnionWith(ApplicationManager.Manager.GetInstances<I2DMCVDecoder>());
    137       } else {
     133      } */ else {
    138134        string error = "The given problem does not support the selected solution-creator.";
    139135        ErrorHandling.ShowErrorDialog(error, null);
Note: See TracChangeset for help on using the changeset viewer.