Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Data structs
  • Category : Data structs
  • Tags :
  • Update : 2013-10-27
  • Size : 1.98mb
  • Downloaded :0次
  • Author :a*****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
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.
Packet file list
(Preview for download)


UFApp\HW6.docx
.....\hw6Data\128KUF.txt
.....\.......\16KUF.txt
.....\.......\1KUF.txt
.....\.......\2KUF.txt
.....\.......\32KUF.txt
.....\.......\4KUF.txt
.....\.......\64KUF.txt
.....\.......\8KUF.txt
.....\...JUnitTests\QFTest.java
.....\.............\QUPCTest.java
.....\.............\QUTest.java
.....\.............\UFApp.java
.....\solution\ans.txt
.....\........\ans.txt.bak
.....\........\QF.java
.....\........\QF.java.bak
.....\........\QU.java
.....\........\QU.java.bak
.....\........\QUPC.java
.....\........\QUPC.java.bak
.....\........\UF.java
.....\........\UF.java.bak
.....\hw6Data
.....\hw6JUnitTests
.....\solution
UFApp
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.