Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/12/18 14:19:06 (7 years ago)
Author:
rhanghof
Message:

#2817:

  • Fixed a bug at creating the extreme points with the point projection based method.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2817-BinPackingSpeedup/HeuristicLab.Problems.BinPacking/3.3/3D/Encoding/ExtremePointPermutationDecoder.cs

    r15652 r15838  
    6969      : base(original, cloner) {
    7070      fittingMethodParameter = cloner.Clone(original.fittingMethodParameter);
    71       //_binPacker = cloner.Clone(original._binPacker);
    7271    }
    7372    public ExtremePointPermutationDecoder() {
     
    8685      return new ExtremePointPermutationDecoder(this, cloner);
    8786    }
    88 
    89     /*[Storable]
    90     BinPacker _binPacker;
    91     */
     87   
    9288    /// <summary>
    9389    /// Creates a solution for displaying it on the HEAL gui
     
    108104      }
    109105      return solution;
    110     }
    111 
    112     Permutation AddOffset(Permutation p, int offset) {
    113       var s = p.ToArray();
    114       for (int i = 0; i < s.Length; i++) {
    115         s[i] += offset;
    116       }
    117      
    118       return new Permutation(PermutationTypes.Absolute, s);
    119     }
     106    }   
    120107  }
    121108}
Note: See TracChangeset for help on using the changeset viewer.