搜索资源列表
PI的编程
- 求pi的程序,包括实验报告,误差分析,收敛性分析-for pi procedures, including experimental report, error analysis, convergence analysis, and so on
task_compositor
- 带有期限的作业排序问题:假定只能在一台机器上处理n个作业,每个作业均可在单位时间内完成;又假定每个作业i都有一个截止期限di>0(它是整数),当且仅当作业i在它的期限截止以前被完成时,则获得pi>0的效益。求具有最大效益值的可行解。 文件中包含详细的源代码和注释,以实现这个经典的问题。-period with the operations scheduling problem : the assumption that only a machine n handling oper
计算圆周率
- 计算圆周率 Pi (π)值, 精确到小数点后 10000 位 只需要 30 多句代码!-Pi calculated pi () values, accurate to 10,000 decimal places only need more than 30 sentence code!
Carlo1
- 蒙特卡洛算法实现的检验pi的值和求二重积分的高级算法,值得下载
语法分析之左递归实验
- 此为编译原理实验报告 学习消除文法左递规算法,了解消除文法左递规在语法分析中的作用 内含 设计算法 目的 源码 等等.... 算法:消除左递归算法为: (1)把文法G的所有非终结符按任一种顺序排列成P1,P2,…Pn 按此顺序执行 (2)FOR i:=1 TO n DO BEGIN FOR j:=1 DO 把形如Pi→Pjγ的规则改写成 Pi→δ1γ δ2γ … δkγ。其中Pj→δ1 δ2 … δk是关于Pj的所有规则; 消除关于Pi规则的直接左递归性 END (3)化简由(2)所得的文法。即
pi
- 一个求pi的源程序,可以精确到几十位 外加一个自己编写的记事本程序 pi.c-A source for pi can be accurate to plus a dozen have written the Notepad program pi.c
1108
- 在0 / 1背包问题中,需对容量为c 的背包进行装载。从n 个物品中选取装入背包的物品,每件物品i 的重量为wi ,价值为pi 。对于可行的背包装载,背包中物品的总重量不能超过背包的容量,最佳装载是指所装入的物品价值最高,即n ?i=1pi xi 取得最大值。约束条件为n ?i =1wi xi≤c 和xi?[ 0 , 1 ] [ 1≤i≤n]。-At 0/1 knapsack problem, there is a need for a capacity of c for the loaded
d
- 1. 0-1背包问题 在0 / 1背包问题中,需对容量为c 的背包进行装载。从n 个物品中选取装入背包的物品,每件物品i 的重量为wi ,价值为pi 。对于可行的背包装载,背包中物品的总重量不能超过背包的容量,最佳装载是指所装入的物品价值最高 -1. 0-1 knapsack problem at 0/1 knapsack problem, there is a need for a capacity of c for the loaded backpack. N items from
0-1
- 在0 / 1背包问题中,需对容量为c 的背包进行装载。从n 个物品中选取装入背包的物品,每件物品i 的重量为wi ,价值为pi 。对于可行的背包装载,背包中物品的总重量不能超过背包的容量,最佳装载是指所装入的物品价值最高。-At 0/1 knapsack problem, there is a need for a capacity of c to load the backpack. N items from a selected items into the backpack, each i
small
- 计算PI的值有各种各样 ,看看这个算法是不是很简洁呢-Calculated PI values are varied, to see if this algorithm is not very simple and does
KnapsackProblem
- 问题:已知有n种物品和一个可容纳M重量的背包,每种物品i的重量为wi。假定将物品i的一部分xi放入背包就会得到pixi的效益,这里,0≤xi≤1,pi>0。如果这些 物品重量的和大于M,要求所有选中要装入背包的物品总重 量不得超过M,而装入背包物品获得的总效益最大。-Question: are known to have n kinds of goods and M can hold the weight of a backpack, the weight of each item
pi_1
- 一个求pi的很巧妙的经典算法 我对对其中的想法深感震惊 所以拿来给朋友们分享-Pi seeking a classical algorithm very clever of them I am deeply shocked by the idea of it were given to friends to share
algorithmCollection
- 经典算法合集 基于C语言写成,非常经典的算法 包括数论,排列组合,矩阵运算 超大整数运算 求高精度pi值等多个算法.-Collection based on classic algorithms written in C language,including number theory, permutations and combinations, large integer arithmetic ,matrix operations and high precision value of pi
circumference
- 用c语言求圆周率的问题,精确到小数点后2000位-Using c language question seeking pi, accurate to the decimal 2000
Calculate-Pi
- 高效的数值算法,使用普通精度计算圆周率。不需要高精度的支持-Efficient numerical algorithm, calculation of pi using ordinary precision. Does not require the support of high-precision
mente-clo
- 蒙特卡洛算法求pi,蒙特拉罗是计算机技术发展以来比较被重视的算法,在各个方面都被广泛应用-Mente clo
1
- 利用贪心策略解决背包问题。现有载重为M公斤的背包和n种货物。第i种货物的重量为Wi,它的总价值为Pi,假定M、Wi、Pi均为整数。设计程序给出装货方法,使装入背包的货物总价值达到最大。-Greedy strategy to solve the knapsack problem using. Current load of M kg backpack and n kinds of goods. First i kind of cargo weight Wi, its total value of
approxpi
- 寻找靠近圆周率值的分数的软件(这只是原码,c语言的)。 -Find the fraction that close to the value of pi.
pi.tar
- 一个好的算法,用于演示,如何获得PI值,可以精确到小数点后上千位。-A good example to show how to produce the value of PI
calculate--PI
- 计算PI后面的很多位的C程序,可以直接运行,代码精简快速-calculate Pi rapidly and accuratly