文件名称:UFApp
-
所属分类:
- 标签属性:
- 上传时间:2013-10-27
-
文件大小:1.98mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
write an application UFApp that
1. Prompts for a file name.
2. Reads the first integer, which is the number of sites.
3. Reads each pair of integers, p and q, representing sites and if not already connected, connects by calling union(p,q).
4. At end of input, print
a. the number of sites
b. the number of components
c. the elapsed time in milliseconds to read an process all input pairs of sites (step 2)
Run the application for each of QF, QU and QUPC for input files of size 1K, 2K, 4K, 8K, 16K, 32K, 64K, 128K as long as the time is not greater than 10 seconds (10000 msec). Provide a text file with the results.
-write an application UFApp that
1. Prompts for a file name.
2. Reads the first integer, which is the number of sites.
3. Reads each pair of integers, p and q, representing sites and if not already connected, connects by calling union(p,q).
4. At end of input, print
a. the number of sites
b. the number of components
c. the elapsed time in milliseconds to read an process all input pairs of sites (step 2)
Run the application for each of QF, QU and QUPC for input files of size 1K, 2K, 4K, 8K, 16K, 32K, 64K, 128K as long as the time is not greater than 10 seconds (10000 msec). Provide a text file with the results.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
UFApp/HW6.docx
UFApp/hw6Data/128KUF.txt
UFApp/hw6Data/16KUF.txt
UFApp/hw6Data/1KUF.txt
UFApp/hw6Data/2KUF.txt
UFApp/hw6Data/32KUF.txt
UFApp/hw6Data/4KUF.txt
UFApp/hw6Data/64KUF.txt
UFApp/hw6Data/8KUF.txt
UFApp/hw6JUnitTests/QFTest.java
UFApp/hw6JUnitTests/QUPCTest.java
UFApp/hw6JUnitTests/QUTest.java
UFApp/hw6JUnitTests/UFApp.java
UFApp/solution/ans.txt
UFApp/solution/ans.txt.bak
UFApp/solution/QF.java
UFApp/solution/QF.java.bak
UFApp/solution/QU.java
UFApp/solution/QU.java.bak
UFApp/solution/QUPC.java
UFApp/solution/QUPC.java.bak
UFApp/solution/UF.java
UFApp/solution/UF.java.bak
UFApp/hw6Data
UFApp/hw6JUnitTests
UFApp/solution
UFApp
UFApp/hw6Data/128KUF.txt
UFApp/hw6Data/16KUF.txt
UFApp/hw6Data/1KUF.txt
UFApp/hw6Data/2KUF.txt
UFApp/hw6Data/32KUF.txt
UFApp/hw6Data/4KUF.txt
UFApp/hw6Data/64KUF.txt
UFApp/hw6Data/8KUF.txt
UFApp/hw6JUnitTests/QFTest.java
UFApp/hw6JUnitTests/QUPCTest.java
UFApp/hw6JUnitTests/QUTest.java
UFApp/hw6JUnitTests/UFApp.java
UFApp/solution/ans.txt
UFApp/solution/ans.txt.bak
UFApp/solution/QF.java
UFApp/solution/QF.java.bak
UFApp/solution/QU.java
UFApp/solution/QU.java.bak
UFApp/solution/QUPC.java
UFApp/solution/QUPC.java.bak
UFApp/solution/UF.java
UFApp/solution/UF.java.bak
UFApp/hw6Data
UFApp/hw6JUnitTests
UFApp/solution
UFApp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.