Changeset 9593 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Encodings/PackingSequence
- Timestamp:
- 06/06/13 03:12:42 (12 years ago)
- Location:
- branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Encodings/PackingSequence
- Files:
-
- 2 added
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Encodings/PackingSequence/PackingSequenceOrderCrossover.cs
r9563 r9593 43 43 public override PackingSequenceEncoding Cross(IRandom random, PackingSequenceEncoding parent1, PackingSequenceEncoding parent2) { 44 44 PackingSequenceEncoding result = new PackingSequenceEncoding(); 45 result.PackingSequence = OrderCrossover 2.Apply(random, parent1.PackingSequence, parent2.PackingSequence);45 result.PackingSequence = OrderCrossover.Apply(random, parent1.PackingSequence, parent2.PackingSequence); 46 46 return result; 47 47 }
Note: See TracChangeset
for help on using the changeset viewer.