Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/13/18 16:45:01 (7 years ago)
Author:
rhanghof
Message:

#2817:

  • Added a graph to the BinPacking3D for calculating the weight distribution.
  • Added some materials.
File:
1 edited

Legend:

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

    r15617 r15770  
    2727using HeuristicLab.Parameters;
    2828using HeuristicLab.Problems.BinPacking;
     29using HeuristicLab.Problems.BinPacking3D.Material;
    2930
    3031namespace HeuristicLab.Problems.BinPacking3D {
     
    5758    }
    5859
     60    public IFixedValueParameter<EnumValue<MaterialType>> MaterialBottomParameter {
     61      get { return (IFixedValueParameter<EnumValue<MaterialType>>)Parameters["MaterialBottom"]; }
     62    }
     63    public MaterialType MaterialBottom {
     64      get { return MaterialBottomParameter.Value.Value; }
     65      set { MaterialBottomParameter.Value.Value = value; }
     66    }
     67
    5968    [StorableConstructor]
    6069    protected PackingShape(bool deserializing) : base(deserializing) { }
     
    6877      Parameters.Add(new FixedValueParameter<IntValue>("Height"));
    6978      Parameters.Add(new FixedValueParameter<IntValue>("Depth"));
     79      Parameters.Add(new FixedValueParameter<EnumValue<MaterialType>>("MaterialBottom"));
     80
     81      MaterialBottom = MaterialType.ScreenPrintingPlate;
    7082
    7183      RegisterEvents();
Note: See TracChangeset for help on using the changeset viewer.