Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/09/13 15:03:41 (12 years ago)
Author:
jhelm
Message:

#1966: Fixed some problems in MCV-move operators; Added parts of potvin-encoding implementation;

Location:
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Problem
Files:
2 edited

Legend:

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

    r9440 r9473  
    4444using HeuristicLab.Problems.Instances;
    4545using HeuristicLab.Encodings.PackingEncoding.MultiComponentVector;
     46using HeuristicLab.Encodings.PackingEncoding.Potvin;
    4647
    4748namespace HeuristicLab.Problems.BinPacking.Problem {
     
    125126      } else if (SolutionCreator is MultiComponentVectorRandomCreator) {
    126127        PackingSolutionDecoder = new ExtremePointMultiComponentVectorDecoder3D();
     128      } else if (SolutionCreator is PotvinRandomCreator) {
     129        PackingSolutionDecoder = new ExtremePointPotvinDecoder3D();
    127130      } else {
    128131        string error = "The given problem does not support the selected solution-creator.";
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Problem/RegularIdenticalBinPackingProblem.cs

    r9440 r9473  
    4343using HeuristicLab.Problems.Instances;
    4444using HeuristicLab.Encodings.PackingEncoding.MultiComponentVector;
     45using HeuristicLab.Encodings.PackingEncoding.Potvin;
    4546
    4647namespace HeuristicLab.Problems.BinPacking.Problem {
     
    138139        Operators.AddRange(ApplicationManager.Manager.GetInstances<IMultiComponentVectorOperator>());
    139140        InitializeDecoder();
     141      } else if (SolutionCreator.GetType() == typeof(PotvinRandomCreator)) {
     142        Operators.AddRange(ApplicationManager.Manager.GetInstances<IPotvinOperator>());
     143        InitializeDecoder();
    140144      }
    141145    }
Note: See TracChangeset for help on using the changeset viewer.