Changeset 14038 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Encodings/PackingSequence
- Timestamp:
- 07/12/16 16:35:10 (8 years ago)
- Location:
- branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Encodings/PackingSequence
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Encodings/PackingSequence/PackingSequenceEncoding.cs
r13613 r14038 32 32 [Item("Packing Sequence Encoding", "Represents an encoding for a bin packing problem using permutation of item-indexes to define the packing sequence.")] 33 33 [StorableClass] 34 public class PackingSequenceEncoding : Encoding<PackingSequenceRandomCreator>{34 public class PackingSequenceEncoding : Item, IPackingSolutionEncoding { 35 35 36 36 [Storable] -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Encodings/PackingSequence/PackingSequenceRandomCreator.cs
r13613 r14038 33 33 [Item("PackingSequenceCreator", "Creator class used to create PackingSequence solutions for bin packing problems.")] 34 34 [StorableClass] 35 public class PackingSequenceRandomCreator : SingleSuccessorOperator, IPackingSequenceCreator, IStochasticOperator {35 public class PackingSequenceRandomCreator : PackingSolutionCreator, IStochasticOperator { 36 36 37 37 public ILookupParameter<IRandom> RandomParameter { … … 74 74 return solution; 75 75 } 76 76 protected override IItem CreateSolution() { 77 return Apply(PackingItemsParameter.ActualValue.Value, RandomParameter.ActualValue); 78 } 77 79 } 78 80 }
Note: See TracChangeset
for help on using the changeset viewer.