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/3.3/Encodings/PackingPlans/PackingPlan.cs

    r14050 r14128  
    2828using HeuristicLab.Data;
    2929using HeuristicLab.Collections;
    30 using HeuristicLab.Encodings.PackingEncoding.MultiComponentVector;
    31 using HeuristicLab.Encodings.PackingEncoding.GroupingVector;
    32 using HeuristicLab.Encodings.PackingEncoding.PackingSequence;
    3330using HeuristicLab.Encodings.IntegerVectorEncoding;
    3431using HeuristicLab.Problems.BinPacking;
     32using HeuristicLab.Encodings.PermutationEncoding;
    3533
    3634namespace HeuristicLab.Encodings.PackingEncoding {
     
    9896    }
    9997
     98    /*
    10099    public void Pack(MultiComponentVectorEncoding solution, ItemList<I> itemMeasures) {
    101100      var sequenceMatrix = solution.GenerateSequenceMatrix();
     
    197196      solution.GroupingVector = new IntegerVector(newSolution);
    198197    }
    199     public void Pack(PackingSequenceEncoding solution, ItemList<I> itemMeasures) {
    200       List<int> remainingIDs = new List<int>(solution.PackingSequence);
     198     *
     199     
     200    public void Pack(Permutation solution, ItemList<I> itemMeasures) {
     201      List<int> remainingIDs = new List<int>(solution);
    201202      while (remainingIDs.Count > 0) {
    202203        var bp = NewBinPacking();
     
    210211    }
    211212
    212 
     213    */
    213214    #region Events
    214215    public event EventHandler QualityChanged;
Note: See TracChangeset for help on using the changeset viewer.