Changeset 14492 for branches/MemPRAlgorithm/HeuristicLab.Encodings.LinearLinkageEncoding/3.4/Moves/SplitMove.cs
- Timestamp:
- 12/14/16 20:45:46 (7 years ago)
- Location:
- branches/MemPRAlgorithm/HeuristicLab.Encodings.LinearLinkageEncoding/3.4
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/MemPRAlgorithm/HeuristicLab.Encodings.LinearLinkageEncoding/3.4/Moves/SplitMove.cs
r14477 r14492 21 21 22 22 using System; 23 using HeuristicLab.Collections;24 23 25 24 namespace HeuristicLab.Encodings.LinearLinkageEncoding { … … 45 44 } 46 45 47 public override void UpdateLinks(BidirectionalDictionary<int, int> links) { 48 // nothing has to be done 46 public override void ApplyToLLEb(int[] lleb) { 47 if (nextItem < 0) throw new InvalidOperationException("Cannot undo move that has not been applied first to LLE."); 48 lleb[nextItem] = nextItem; 49 49 } 50 50 }
Note: See TracChangeset
for help on using the changeset viewer.