- Timestamp:
- 05/04/13 17:51:14 (12 years ago)
- Location:
- branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Problem
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Problem/BinPackingProblem.cs
r9348 r9440 31 31 using HeuristicLab.Common; 32 32 using HeuristicLab.Parameters; 33 using HeuristicLab. Problems.BinPacking.PackingPlans;33 using HeuristicLab.Encodings.PackingEncoding.PackingPlan; 34 34 using HeuristicLab.Problems.BinPacking.Evaluators; 35 35 using HeuristicLab.Problems.BinPacking.Analyzers; -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Problem/CuboidIdenticalBinPackingProblem.cs
r9348 r9440 43 43 using HeuristicLab.Encodings.PackingEncoding.GroupingVector; 44 44 using HeuristicLab.Problems.Instances; 45 using HeuristicLab.Encodings.PackingEncoding.MultiComponentVector; 45 46 46 47 namespace HeuristicLab.Problems.BinPacking.Problem { … … 119 120 protected override void InitializeDecoder() { 120 121 if (SolutionCreator is PackingSequenceRandomCreator) { 121 PackingSolutionDecoder = new ThreeDimensionalBottomLeftPackingSequenceDecoder();122 PackingSolutionDecoder = new ExtremePointPackingSequenceDecoder3D(); 122 123 } else if (SolutionCreator is GroupingVectorRandomCreator) { 123 PackingSolutionDecoder = new ThreeDimensionalBottomLeftGroupingVectorDecoder(); 124 PackingSolutionDecoder = new ExtremePointGroupingVectorDecoder3D(); 125 } else if (SolutionCreator is MultiComponentVectorRandomCreator) { 126 PackingSolutionDecoder = new ExtremePointMultiComponentVectorDecoder3D(); 124 127 } else { 125 128 string error = "The given problem does not support the selected solution-creator."; -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Problem/RectangularIdenticalBinPackingProblem.cs
r9348 r9440 39 39 using HeuristicLab.Data; 40 40 using HeuristicLab.Problems.BinPacking.Decoders; 41 using HeuristicLab. Problems.BinPacking.PackingPlans;41 using HeuristicLab.Encodings.PackingEncoding.PackingPlan; 42 42 using HeuristicLab.Encodings.PackingEncoding.PackingSequence; 43 43 using HeuristicLab.Encodings.PackingEncoding.GroupingVector; 44 44 using HeuristicLab.Problems.Instances; 45 using HeuristicLab.Encodings.PackingEncoding.MultiComponentVector; 45 46 46 47 namespace HeuristicLab.Problems.BinPacking.Problem { … … 114 115 protected override void InitializeDecoder() { 115 116 if (SolutionCreator is PackingSequenceRandomCreator) { 116 PackingSolutionDecoder = new TwoDimensionalBottomLeftPackingSequenceDecoder();117 PackingSolutionDecoder = new ExtremePointPackingSequenceDecoder2D(); 117 118 } else if (SolutionCreator is GroupingVectorRandomCreator) { 118 PackingSolutionDecoder = new TwoDimensionalBottomLeftGroupingVectorDecoder(); 119 PackingSolutionDecoder = new ExtremePointGroupingVectorDecoder2D(); 120 } else if (SolutionCreator is MultiComponentVectorRandomCreator) { 121 PackingSolutionDecoder = new ExtremePointMultiComponentVectorDecoder2D(); 119 122 } else { 120 123 string error = "The given problem does not support the selected solution-creator."; -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Problem/RegularIdenticalBinPackingProblem.cs
r9348 r9440 36 36 using HeuristicLab.PluginInfrastructure; 37 37 using HeuristicLab.Data; 38 using HeuristicLab. Problems.BinPacking.PackingPlans;38 using HeuristicLab.Encodings.PackingEncoding.PackingPlan; 39 39 using HeuristicLab.Problems.BinPacking.Analyzers; 40 40 using HeuristicLab.Encodings.PackingEncoding.PackingSequence; … … 42 42 using HeuristicLab.Encodings.PackingEncoding.GroupingVector; 43 43 using HeuristicLab.Problems.Instances; 44 using HeuristicLab.Encodings.PackingEncoding.MultiComponentVector; 44 45 45 46 namespace HeuristicLab.Problems.BinPacking.Problem { … … 79 80 } 80 81 81 protected RegularIdenticalBinPackingProblem(IPackingPlanEvaluationAlgorithm e) : this(e, new GroupingVectorRandomCreator()) { }82 protected RegularIdenticalBinPackingProblem(IPackingPlanEvaluationAlgorithm e) : this(e, new MultiComponentVectorRandomCreator()) { } 82 83 protected RegularIdenticalBinPackingProblem(IPackingPlanEvaluationAlgorithm e, IPackingSolutionCreator c) 83 84 : base(e, c) { … … 134 135 Operators.AddRange(ApplicationManager.Manager.GetInstances<IGroupingVectorOperator>()); 135 136 InitializeDecoder(); 137 } else if (SolutionCreator.GetType() == typeof(MultiComponentVectorRandomCreator)) { 138 Operators.AddRange(ApplicationManager.Manager.GetInstances<IMultiComponentVectorOperator>()); 139 InitializeDecoder(); 136 140 } 137 141 } … … 192 196 if (PackingSolutionDecoder != null) PackingSolutionDecoder.PackingPlanParameter.ActualNameChanged += PackingSolutionDecoder_PackingPlanParameter_ActualNameChanged; 193 197 } 198 194 199 #endregion 195 200
Note: See TracChangeset
for help on using the changeset viewer.