Changeset 9495 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Encodings/GroupingVector/Moves/SingleGrouping/SingleGroupingMoveGenerator.cs
- Timestamp:
- 05/15/13 22:23:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Encodings/GroupingVector/Moves/SingleGrouping/SingleGroupingMoveGenerator.cs
r9440 r9495 38 38 get { return (ILookupParameter<GroupingVectorEncoding>)Parameters["GroupingVector"]; } 39 39 } 40 public ILookupParameter< SingleGroupingMove> SingleGroupingMoveParameter {41 get { return (LookupParameter< SingleGroupingMove>)Parameters["SingleGroupingMove"]; }40 public ILookupParameter<IPackingMove> PackingMoveParameter { 41 get { return (LookupParameter<IPackingMove>)Parameters["PackingMove"]; } 42 42 } 43 43 protected ScopeParameter CurrentScopeParameter { … … 51 51 : base() { 52 52 Parameters.Add(new LookupParameter<GroupingVectorEncoding>("GroupingVector", "The grouping vector for which moves should be generated.")); 53 Parameters.Add(new LookupParameter< SingleGroupingMove>("SingleGroupingMove", "The moves that should be generated in subscopes."));53 Parameters.Add(new LookupParameter<IPackingMove>("PackingMove", "The moves that should be generated in subscopes.")); 54 54 Parameters.Add(new ScopeParameter("CurrentScope", "The current scope where the moves should be added as subscopes.")); 55 55 } … … 61 61 for (int i = 0; i < moveScopes.Length; i++) { 62 62 moveScopes[i] = new Scope(i.ToString()); 63 moveScopes[i].Variables.Add(new Variable( SingleGroupingMoveParameter.ActualName, moves[i]));63 moveScopes[i].Variables.Add(new Variable(PackingMoveParameter.ActualName, moves[i])); 64 64 } 65 65 CurrentScopeParameter.ActualValue.SubScopes.AddRange(moveScopes);
Note: See TracChangeset
for help on using the changeset viewer.