- Timestamp:
- 02/19/10 06:19:16 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Evolutionary/3.3/PopulationCreator.cs
r2830 r2834 59 59 } 60 60 61 public override I ExecutionSequenceApply() {61 public override IOperation Apply() { 62 62 int size = PopulationSizeParameter.ActualValue.Value; 63 63 IOperator creator = SolutionCreatorParameter.ActualValue; … … 69 69 CurrentScope.SubScopes.Add(new Scope(i.ToString())); 70 70 71 ExecutionContextCollection next = new ExecutionContextCollection();71 OperationCollection next = new OperationCollection(); 72 72 for (int i = 0; i < CurrentScope.SubScopes.Count; i++) { 73 if (creator != null) next.Add(ExecutionContext.Create Context(creator, CurrentScope.SubScopes[i]));74 if (evaluator != null) next.Add(ExecutionContext.Create Context(evaluator, CurrentScope.SubScopes[i]));73 if (creator != null) next.Add(ExecutionContext.CreateOperation(creator, CurrentScope.SubScopes[i])); 74 if (evaluator != null) next.Add(ExecutionContext.CreateOperation(evaluator, CurrentScope.SubScopes[i])); 75 75 } 76 76 next.Add(base.Apply());
Note: See TracChangeset
for help on using the changeset viewer.