算法作业翻译.doc

  1. 1、本文档共12页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
算法作业翻译

1.使用合并-查找数据结构,实现估计渗漏(Percolation)问题阈值的程序。 Write a program to estimate the value of the percolation threshold via Monte Carlo simulation. 编写一个程序,通过蒙特卡罗模拟估计渗透阈值的值。 Install a Java programming environment. Install a Java programming environment on your computer by following these step-by-step instructions for your operating system [ Mac OS X · Windows · Linux ]. After following these instructions, the commands javac-algs4 and java-algs4 will classpath in both stdlib.jar and algs4.jar: the former contains libraries for reading data from standard input, writing data to standard output, drawing results to standard draw, generating random numbers, computing statistics, and timing programs; the latter contains all of the algorithms in the textbook. 安装Java编程环境。 按照操作系统的[Mac OS X?Windows?Linux]分步说明,在计算机上安装Java编程环境。 在遵循这些指令之后,javac-algs4和java-algs4命令将在stdlib.jar和algs4.jar中使用类路径:前者包含用于从标准输入读取数据的库,将数据写入标准输出,将结果绘制到标准绘制, 随机数,计算统计和时序程序; 后者包含教科书中的所有算法。 Percolation. Given a composite systems comprised of randomly distributed insulating and metallic materials: what fraction of the materials need to be metallic so that the composite system is an electrical conductor? Given a porous landscape with water on the surface (or oil below), under what conditions will the water be able to drain through to the bottom (or the oil to gush through to the surface)? Scientists have defined an abstract process known as percolation to model such situations. 渗滤。 给定由随机分布的绝缘和金属材料组成的复合系统:哪些部分的材料需要是金属的,使得复合系统是电导体? 由于表面(或下面的油)上有水的多孔景观,在什么条件下水能够通过底部排出(或油通过表面喷出)? 科学家已经定义了一个称为渗透的抽象过程来模拟这种情况。 The model. We model a percolation system using an N-by-N grid of sites. Each site is either open or blocked. A full site is an open site that can be connected to an open site in the top row via a chain of neighboring (left, right, up, down) open sites. We say the system percolates if there is a full site in the bottom row. In other words, a system percolates if we fill all open sites connected to the top row and that proces

文档评论(0)

整理王 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档