Changeset 3770 for trunk/sources
- Timestamp:
- 05/11/10 15:48:10 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/UserDefinedAlgorithmView.Designer.cs
r3764 r3770 70 70 // 71 71 this.toolTip.SetToolTip(this.openOperatorGraphButton, "Open Operator Graph"); 72 this.openOperatorGraphButton.Click += new System.EventHandler(openOperatorGraphButton_Click); 72 73 // 73 74 // newOperatorGraphButton 74 75 // 75 76 this.toolTip.SetToolTip(this.newOperatorGraphButton, "New Operator Graph"); 77 this.newOperatorGraphButton.Click += new System.EventHandler(newOperatorGraphButton_Click); 76 78 // 77 79 // tabControl -
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.