- Timestamp:
- 07/02/09 12:25:32 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.FixedOperators/3.2/FixedOSGAMain.cs
r2120 r2129 66 66 IScope s; 67 67 IScope s2; 68 bool loopSkipped = true; 69 bool running = false; 68 70 69 71 DoubleData selectionPressure = null; … … 105 107 Execute(wofc, s2); 106 108 Execute(sr, s2); 109 loopSkipped = false; 110 } // foreach 107 111 108 } // foreach 109 subscopeNr.Data = 0; 112 // if for loop skipped, we had to add skiped operations 113 // to execution pointer. 114 if (loopSkipped) 115 executionPointer += 5; 110 116 111 117 Execute(sorter, s); 112 118 ////// END Create Children ////// 113 114 115 } while (os.Execute(scope) != null); 119 120 running = ExecuteFirstOperator(os, scope); 121 if (running) subscopeNr.Data = 0; 122 } while (running); 116 123 117 124 DoReplacement(scope); … … 129 136 break; 130 137 138 subscopeNr.Data = 0; 131 139 ResetExecutionPointer(); 132 140 } // for i generations
Note: See TracChangeset
for help on using the changeset viewer.