Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2817-BinPackingSpeedup/HeuristicLab.Problems.BinPacking/3.3/3D/ExtremePointCreation/ExtremePointCreatorFactory.cs @ 15554

Last change on this file since 15554 was 15488, checked in by rhanghof, 7 years ago

#2817:

  • Added line projection based bin packing
  • Added residual spaces to the view
File size: 735 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
7namespace HeuristicLab.Problems.BinPacking3D.ExtremePointCreation {
8  public static class ExtremePointCreatorFactory {
9    public static IExtremePointCreator CreateExtremePointCreator(ExtremePointCreationMethod epGenerationMethod, bool useStackingConstraints) {
10      if (epGenerationMethod == ExtremePointCreationMethod.PointProjection) {
11        return new PointProjectionBasedEPCreator();
12      } else if (epGenerationMethod == ExtremePointCreationMethod.LineProjection) {
13        return new LineProjectionBasedEPCreator();
14      }
15      return new PointProjectionBasedEPCreator();
16    }
17  }
18}
Note: See TracBrowser for help on using the repository browser.