Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/13/16 20:39:47 (8 years ago)
Author:
gkronber
Message:

#1966: reimplemented problem instance generation from paper Silvano Martello, David Pisinger Daniele Vigo, "The Three-Dimensional Bin Packing Problem"

File:
1 moved

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.3D/3.3/Instances/RandomDataDescriptor.cs

    r14061 r14062  
    2424
    2525namespace HeuristicLab.Problems.BinPacking3D {
    26   internal class BPPORLIBDataDescriptor : IDataDescriptor {
    27     public string Name { get; internal set; }
    28     public string Description { get; internal set; }
     26  internal class RandomDataDescriptor : IDataDescriptor {
     27    public string Name { get; private set; }
     28    public string Description { get; private set; }
    2929
    30     internal string InstanceIdentifier { get; set; }
    31     internal string SolutionIdentifier { get; set; }
     30    internal int NumItems { get; private set; }
     31    internal int Class { get; private set; }
    3232
    33     internal BPPORLIBDataDescriptor(string name, string description, string instanceIdentifier, string solutionIdentifier) {
     33    internal int Seed { get; private set; }
     34
     35    internal RandomDataDescriptor(string name, string description, int numItems, int @class, int seed) {
    3436      this.Name = name;
    3537      this.Description = description;
    36       this.InstanceIdentifier = instanceIdentifier;
    37       this.SolutionIdentifier = solutionIdentifier;
     38      this.NumItems = numItems;
     39      this.Class = @class;
     40      this.Seed = seed;
    3841    }
    3942  }
Note: See TracChangeset for help on using the changeset viewer.