Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/15/13 22:23:36 (11 years ago)
Author:
jhelm
Message:

#1966: Did some major refactoring in Decoder-classes; Added MoveEvaluator classes for different encodings and dimensions; Added new crossover-class for MCV encoding;

File:
1 edited

Legend:

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

    r9473 r9495  
    4444using HeuristicLab.Problems.Instances;
    4545using HeuristicLab.Encodings.PackingEncoding.MultiComponentVector;
    46 using HeuristicLab.Encodings.PackingEncoding.Potvin;
    4746
    4847namespace HeuristicLab.Problems.BinPacking.Problem {
     
    120119    #region Helpers
    121120    protected override void InitializeDecoder() {
     121      Operators.RemoveAll(op => typeof(I2DOperator).IsAssignableFrom(op.GetType()));
     122
    122123      if (SolutionCreator is PackingSequenceRandomCreator) {
    123124        PackingSolutionDecoder = new ExtremePointPackingSequenceDecoder3D();
     
    126127      } else if (SolutionCreator is MultiComponentVectorRandomCreator) {
    127128        PackingSolutionDecoder = new ExtremePointMultiComponentVectorDecoder3D();
    128       } else if (SolutionCreator is PotvinRandomCreator) {
    129         PackingSolutionDecoder = new ExtremePointPotvinDecoder3D();
    130129      } else {
    131130        string error = "The given problem does not support the selected solution-creator.";
Note: See TracChangeset for help on using the changeset viewer.