Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/15/17 12:30:13 (7 years ago)
Author:
rhanghof
Message:

#2817:
-Added unit tests
-Refactoring of bp 3D

Location:
branches/2817-BinPackingSpeedup/HeuristicLab.Problems.BinPacking/3.3/3D/Instances
Files:
1 added
3 edited

Legend:

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

    r14162 r15473  
    2222
    2323
    24 namespace HeuristicLab.Problems.BinPacking3D {
     24namespace HeuristicLab.Problems.BinPacking3D.Instances {
    2525
     26  /// <summary>
     27  /// Represents an instance which contains bin packing problem data.
     28  /// </summary>
    2629  public class BPPData {
    2730    /// <summary>
     
    2932    /// </summary>
    3033    public string Name { get; set; }
     34
    3135    /// <summary>
    3236    /// Optional! The description of the instance
     
    3842    /// </summary>
    3943    public int NumItems { get { return Items == null ? 0 : Items.Length; } }
     44
     45    /// <summary>
     46    /// Assigned packing shape
     47    /// </summary>
    4048    public PackingShape BinShape { get; set; }
     49
     50    /// <summary>
     51    /// Array with assigned packing items
     52    /// </summary>
    4153    public PackingItem[] Items { get; set; }
     54   
    4255    /// <summary>
    4356    /// Optional! The quality of the best-known solution.
  • branches/2817-BinPackingSpeedup/HeuristicLab.Problems.BinPacking/3.3/3D/Instances/RandomInstanceProvider.cs

    r15454 r15473  
    164164    }
    165165
    166 
     166    /// <summary>
     167    /// Loads the data from the given data descriptor.
     168    /// It retuns a bin packing problem data instance with the data of the random instance provider.
     169    /// </summary>
     170    /// <param name="dd"></param>
     171    /// <returns></returns>
    167172    public override BPPData LoadData(IDataDescriptor dd) {
    168173      var randDd = dd as RandomDataDescriptor;
  • branches/2817-BinPackingSpeedup/HeuristicLab.Problems.BinPacking/3.3/3D/Instances/RealWorldContainerPackingInstanceProvider.cs

    r15471 r15473  
    2828using System.Text.RegularExpressions;
    2929using HeuristicLab.Problems.Instances;
     30using HeuristicLab.Problems.BinPacking3D.Instances;
    3031
    3132namespace HeuristicLab.Problems.BinPacking3D {
Note: See TracChangeset for help on using the changeset viewer.