Changeset 18175 for branches/3140_NumberSymbol/HeuristicLab.Optimization
- Timestamp:
- 01/03/22 11:49:24 (3 years ago)
- Location:
- branches/3140_NumberSymbol
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3140_NumberSymbol
- Property svn:mergeinfo changed
/trunk merged: 18136-18138,18153,18165-18174
- Property svn:mergeinfo changed
-
branches/3140_NumberSymbol/HeuristicLab.Optimization
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Optimization (added) merged: 18153
- Property svn:mergeinfo changed
-
branches/3140_NumberSymbol/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingOperator.cs
r17180 r18175 31 31 namespace HeuristicLab.Optimization { 32 32 [StorableType("43619638-9D00-4951-8138-8CCD0786E784")] 33 public abstract class MultiEncodingOperator<T> : Operator, IMultiEncodingOperator where T : class, IOperator {33 public abstract class MultiEncodingOperator<T> : Operator, IMultiEncodingOperator where T : class, IOperator { 34 34 private List<IEncoding> encodings = new List<IEncoding>(); 35 35 [Storable(Name = "Encodings")] … … 71 71 72 72 public override IOperation Apply() { 73 var operations = Parameters.Select(p => p.ActualValue).OfType<IOperator>().Select(op => ExecutionContext.CreateChildOperation(op)); 73 var operators = Parameters.OrderBy(p => p.Name).Select(p => p.ActualValue).OfType<IOperator>(); 74 var operations = operators.Select(op => ExecutionContext.CreateChildOperation(op)); 74 75 return new OperationCollection(operations); 75 76 }
Note: See TracChangeset
for help on using the changeset viewer.