The optimization problem was formulated as a multiple-stage optimal control problem and solved by a forward and backward iteration loop.
整个最优化问题被描述成一个多阶段系统优化控制问题,通过一个向前和向后的迭代循环解决。
In the general ellipse - generating algorithm for raster - pixel, there are always multiplication and square root operating in the main iteration loop, so the calculating cost is more expensive.
在一般光栅象素的椭圆生成算法中,其主循环中均带有乘法和开方等运算,因而其计算量较大。
For tasks that execute code in a loop, it is common to check for interruption only once per loop iteration.
对于执行一个循环中的代码的任务,通常只需为每一个循环迭代检查一次中断。
This will only happen on the first iteration of the loop, saving valuable execution time on each subsequent iteration.
这样,它只在循环第一个迭代时执行,从而在以后每次迭代时节省了宝贵的时间。
There is data stored in the BPEDB for each iteration of a loop in a long-running business process.
对于长时间运行的业务过程中循环的每次迭代,都要在BPEDB 中存储数据。
Condition, "this thing in the middle between the semicolons, is going to be checked every iteration of the loop."
条件,“这个在两个分号的中间,它将迭代地检查这个循环的条件。”
First of all, notice that you are potentially doing a lot of unnecessary work when the buffer runs out, since you are processing two buffers for each loop iteration.
首先注意,当缓冲区用尽时,可能要做许多不必要的工作,因为对于每个循环迭代都要处理两个缓冲区。
When it discovers a loop, it displays three expressions: the initializer, condition, and iteration.
当它发现一个循环时,会显示三种表达式:初始程序、条件及迭代。
Rather than checking the loop condition before each iteration, the condition is checked at the end of the iteration.
与在每次迭代前检查循环条件不同,而是在迭代结束时检查条件。
When a for statement is executed, a cursor is implicitly declared such that for each iteration of the for loop, the next row is the result set if fetched.
在执行for语句时,游标被隐式声明,这样对于FOR循环的每一次迭代,取回的下一行就是结果集。
Because filenum will always be less than filecount, the integer division filenum/filecount will always produce zero, so each iteration of the loop will echo
由于filenum始终小于filecount,整数除法 filenum/filecount将始终生成0,因此每次迭代循环都将生成
While loops have a loop condition that is evaluated before each iteration.
While循环具有在每次迭代之前评估的循环条件。
When an activity is skipped in an end state, the request targets the next iteration of this activity, for example, if it is located inside a while loop or inside a cyclic flow.
当跳过某个处于结束状态的活动时,请求将指向此活动的下一个迭代,例如,如果该活动位于while循环中或者在循环流中。
As discussed in the previous article, the continue statement causes the containing loop to start the next iteration.
如前面的文章中所述,continue语句使包含它的循环开始下一次迭代。
For-each loop: When iterating over an array, the compiler generates an induction variable and the standard array iteration idiom.
for - each循环:当迭代数组时,编译器生成归纳变量和标准的数组迭代语法。
Add your configured and value-bound component to the current column, and end your column loop iteration by adding the completed column to the children of the DataTable.
将已配置和值绑定的组件添加到当前列中,通过将完成的列添加到DataTable的子项中结束列循环迭代。
You will recall that DataTables execute an implicit loop over their rows, and the var attribute indicates the value of the current row during the iteration.
您将再次调用 DataTables 对各表行执行隐式循环,var属性指示迭代过程中的当前行。
Since the loop condition is checked before each iteration, the steps in the loop would not run at all if the condition is initially false.
由于在每次迭代之前检查循环条件,因此,如果条件最初为false,则循环中的步骤不运行。
Note at the end of the loop that I recursively call the same function with an argument that is one greater than the previous, implementing the iteration of the loop.
注意,在循环的结尾处,我用一个比上次大1的参数递归地调用同一个函数,以实现循环的迭代。
There's more: the for loop can be utilized to iterate over any object that supports the iteration metaphor, which makes the for loop very powerful.
还有更多信息:for循环可以用于迭代支持迭代metaphor的任何对象,这使for循环非常有用。
Each user starts on a random iteration count (first, fifth, and so on), and each user runs for the entire 64 iterations. The loop followed this pattern.
每个用户从一个随机的迭代计数(第1,第5,等等)开始,每个用户都运行整整64次迭代。
zero() is slowest, because the JIT can't yet optimize away the cost of getting the array length once for every iteration through the loop.
zero()是当中最慢的,因为对于这个遍历中的历次迭代,JIT并不能优化获取数组长度的开销。
To summarize: use the enhanced for loop by default, but consider a hand-written counted loop for performance-critical ArrayList iteration.
结论:优先采用改进for循环,但在性能要求苛刻的ArrayList迭代中,考虑采用手写计数循环。
Because the hint is before the loop body, this code leaves your hint active for every iteration of the loop, but it only has to use one cycle.
由于提示位于循环体之前,因此这段代码将使提示对于循环的每次迭代都保持活动状态,不过它只使用了一个周期。
We could have used a prepared statement and just reset the data each time, but we decided to recreate it for each iteration of the loop here for completeness.
我们本可以使用一个预编译语句并且每次重新设置数据,但是为了保持完整性,我们决定在每次循环的时候重新创建它。
Remember also that each iteration through the loop wastes time, so rather than working through the same loop a number of times, try to perform all the actions in one pass through the loop.
还要记住的是,在循环中,每次反复都是在浪费时间,因此不要多次使用相同的循环,而是要尽量在一个循环中执行所有的操作。
Our diagram for the while loop contains both a condition and an asterisk, signaling iteration, but as you can see the number of iterations is unavailable.
我们的while循环图既包含条件,又包含表明迭代的星号,但您会发现,没有迭代的次数。
The first is loop unrolling, a technique where the instructions called in each iteration of the loop are replicated to form a single sequence.
首先是循环展开(loop unrolling),它是这样一种技术:复制循环的每次迭代所调用的指令以构成一个序列。
If this program is run on a uniprocessor or unloaded multiprocessor system, each thread prints out close to the same for loop iteration count. In one run, the program printed.
如果此程序在单处理器或卸载的多处理器上运行,则每个线程打印的for循环迭代计数大致相同。
Then, we assign $new to $current so it will be the "old" bit on the next loop iteration.
然后,我们将 $new赋给 $current ,以使之成为下一个循环中的 “old”比特。
应用推荐