码迷,mamicode.com
首页 >  
搜索关键字:iteration    ( 266个结果
Loadrunner中参数化实战(1)-Sequential+Each iteration
参数化数据30条:脚本如下,演示登录,投资,退出操作是,打印手机号:首先验证Vugen中迭代:Sequential+Eachiteration设置迭代4次Action结果如下:
分类:其他好文   时间:2015-12-25 19:00:46    阅读次数:180
斐波那契数列
【题目描述】大家都知道斐波那契数列,现在要求输入一个整数n,请你输出斐波那契数列的第n项。【代码实现】传统的递归方式:这个题可以说是迭代(Iteration) VS 递归(Recursion),f(n) = f(n-1) + f(n-2),第一眼看就是递归啊,简直完美的递归环境,这样想着关键代码两三...
分类:其他好文   时间:2015-12-06 17:27:52    阅读次数:193
Python的迭代器和生成器
先说迭代器,对于string、list、dict、tuple等这类容器对象,使用for循环遍历是很方便的就,在后台for语句对容器对象对象调用iteration()函数,这是python的内置函数,iter()会返回一个定义next()方法的迭代器对象,它在容器中逐个访问容器内元素,next()也是...
分类:编程语言   时间:2015-12-04 22:40:33    阅读次数:212
LintCode - Sliding Window Median
Given an array of n integer, and a moving window(size k), move the window at each iteration from the start of the array, find the median of the elemen...
分类:Windows程序   时间:2015-11-20 07:02:24    阅读次数:285
POMDP
本文转自:http://www.pomdp.org/一、Background on POMDPs We assume that the reader is familiar with the value iteration algorithm for regular discrete Markov....
分类:其他好文   时间:2015-10-31 15:36:56    阅读次数:245
Sliding Window Maximum 解答
QuestionGiven an array of n integer with duplicate number, and a moving window(size k), move the window at each iteration from the start of the array,...
分类:Windows程序   时间:2015-10-25 00:50:49    阅读次数:270
-webkit-animation的使用
-webkit-animation:仍旧是一个复合属性,-webkit-animation: name duration timing-function delay iteration_count direction;包括以下几个属性(1) -webkit-animation-name 这个属性的使...
分类:Web程序   时间:2015-10-16 16:43:16    阅读次数:124
Andrew Ng机器学习课程17(2)
Andrew Ng机器学习课程17(2)声明:引用请注明出处http://blog.csdn.net/lg1259156776/说明:主要介绍了利用value iteration和policy iteration两种迭代算法求解MDP问题,还介绍了在实际应用中如何通过积累“经验”更新对转移概率和reward的估计的学习模型,并结合两种迭代算法进行求解的完整过程。...
分类:其他好文   时间:2015-10-12 12:45:10    阅读次数:217
LeetCode Permutations II
原题链接在这里:https://leetcode.com/problems/permutations-ii/是Permutations的进阶题目。Iteration方法和Subsets II很像,加进newRes之前检查newRes是否包含了重复item, 没有重复才可以加进来。AC Java: 1...
分类:其他好文   时间:2015-09-27 13:39:45    阅读次数:106
Python3学习笔记(3)——高级特性
迭代如果给定一个list或tuple,我们可以通过for循环来遍历这个list或tuple,这种遍历我们称为迭代(Iteration)。默认情况下,dict迭代的是key。如果要迭代value,可以用for value in d.values(),如果要同时迭代key和value,可以用for k,...
分类:编程语言   时间:2015-09-24 16:19:30    阅读次数:249
266条   上一页 1 ... 17 18 19 20 21 ... 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!