Changeset 14063 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.3D/3.3/Instances
- Timestamp:
- 07/13/16 21:02:15 (8 years ago)
- Location:
- branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.3D/3.3/Instances
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.3D/3.3/Instances/RandomDataDescriptor.cs
r14062 r14063 29 29 30 30 internal int NumItems { get; private set; } 31 internal int Class { get; private set; }32 33 31 internal int Seed { get; private set; } 34 32 … … 37 35 this.Description = description; 38 36 this.NumItems = numItems; 39 this.Class = @class;40 37 this.Seed = seed; 41 38 } -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.3D/3.3/Instances/RandomInstanceProvider.cs
r14062 r14063 218 218 for (int i = 0; i < instance.NumItems; i++) { 219 219 if (i == 0) 220 writer.WriteLine("{0,-5} {1,-5} {2,-5} W(I),H(I) D(I),I=1,...,N", instance.Items[i].Width, instance.Items[i].Height, instance.Items[i].Depth);220 writer.WriteLine("{0,-5} {1,-5} {2,-5} W(I),H(I),D(I),I=1,...,N", instance.Items[i].Width, instance.Items[i].Height, instance.Items[i].Depth); 221 221 else 222 222 writer.WriteLine("{0,-5} {1,-5} {2,-5}", instance.Items[i].Width, instance.Items[i].Height, instance.Items[i].Depth);
Note: See TracChangeset
for help on using the changeset viewer.