Changeset 3770 for trunk/sources/HeuristicLab.Optimization
- Timestamp:
- 05/11/10 15:48:10 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization/3.3/EngineAlgorithm.cs
r3551 r3770 159 159 globalScope.Variables.Add(new Variable("Results", new ResultCollection())); 160 160 161 if ( engine != null) {161 if ((engine != null) && (operatorGraph.InitialOperator != null)) { 162 162 ExecutionContext context = null; 163 if (operatorGraph.InitialOperator != null) { 164 if (Problem != null) context = new ExecutionContext(context, Problem, globalScope); 165 context = new ExecutionContext(context, this, globalScope); 166 context = new ExecutionContext(context, operatorGraph.InitialOperator, globalScope); 167 } 163 if (Problem != null) context = new ExecutionContext(context, Problem, globalScope); 164 context = new ExecutionContext(context, this, globalScope); 165 context = new ExecutionContext(context, operatorGraph.InitialOperator, globalScope); 168 166 engine.Prepare(context); 169 167 }
Note: See TracChangeset
for help on using the changeset viewer.