How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
SMS TO CELL PHONE
By RAUSEL on Jul 10
Max Bid: Open to fair suggestions


eLearning Website
By ddd5119 on Jul 10
Max Bid: Open to fair suggestions


Ebay Research Tool
By Klorm on Jul 9
Max Bid: Open to fair suggestions


Requesting Bids For 2x15 Forced Matrix Affiliate P ...
By gurumarketing on Jul 9
Max Bid: $125


Anti-Fraud
By rickbrown55 on Jul 9
Max Bid: Open to fair suggestions


Socket File Transfer in Packets
By AnataWaGenki? on Jul 9
Max Bid: Open to fair suggestions


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(135 open)
   Access 
(49 open)
   MySQL 
(80 open)
   Oracle 
(8 open)
   SQL Server 
(41 open)
   Other DB 
(17 open)
Documentation / Tech Writing 
(12 open)
Data Entry 
(19 open)
Game Development 
(23 open)
Graphics / Art / Music 
(42 open)
   Graphics 
(47 open)
     Adobe AfterEffects 
(1 open)
     Adobe Photoshop 
(12 open)
     Adobe Premiere 
(3 open)
     3d Animation 
(12 open)
   Art (Misc.) 
(15 open)
   Music 
(11 open)
   3d Modeling 
(12 open)
Language Specific 
(95 open)
   ASP 
(50 open)
   ASP .NET 
(29 open)
   C# 
(40 open)
   C++ / C 
(103 open)
   Carbon (Mac OS) 
(2 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(10 open)
   Delphi 
(27 open)
   Java 
(51 open)
   JSP 
(8 open)
   Perl 
(39 open)
   PHP 
(80 open)
   XML/XSL 
(25 open)
   Visual Basic 
(134 open)
   Visual Basic .Net 
(51 open)
   Other 
(54 open)
Misc 
(31 open)
   CAD 
(3 open)
MultiMedia 
(36 open)
   Video Editing 
(4 open)
Network 
(43 open)
   Network Design 
(12 open)
   Network Implementation 
(14 open)
Platforms 
(73 open)
   Windows 
(153 open)
     MS Exchange 
(6 open)
     MS Office 
(13 open)
     Other 
(16 open)
   Darwin 
(1 open)
   Internet Browser 
(37 open)
   Linux 
(61 open)
   UNIX 
(26 open)
   Hand Held/PDA Programming 
(8 open)
Requirements 
(13 open)
Security 
(28 open)
Testing / Quality Assurance 
(16 open)
Web 
(139 open)
   Page Design 
(73 open)
   Flash 
(33 open)
   Web Services 
(66 open)
   Web (Other) 
(73 open)
Training 
(12 open)
   Computer Based 
(11 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Date Structures (Generating Points)
Bid Request Id: 32091
Bookmark in my 'To Do' list
Posted by: seatiger74 (25 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 3.23%
Buyer Security Verifications: Good
Approved on: Oct 22, 2002
10:21:48 PM EDT
Bidding Closes: Oct 31, 2002
10:33:06 PM EDT
Viewed (by coders): 178 times
Deadline: 11/2/2002
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: C++ / C
Enter chat room for this bid request
(0 active users at Jul 10, 2003 9:52:07 AM EDT)

Description:
Consider the problem of finding the two points that are closest together among a set of points. It would seem that one must examine the distances between all pairs of points in the set, which would mean a runtime
proportional to N2. However, it turns out that we can use sorting to get by with examining only about N log(N) distances between points in the worst case (and far fewer on average).
The idea is to sort the points on one coordinate, say x, then use that ordering to divide the points in half. Then the closest pair in the whole set is either the closest pair in one of the halves or the
closest pair with one member in each half. How we handle the latter case is what makes this code interesting (and what makes it more -- or less --
efficient).In looking at the points on either side of the dividing line between the 2 halves, we need only look at those that are within distance min of the dividing line, where min is the smaller of the distances between the closest pairs found in the 2 halves.Unfortunately, there could be many such points. It would seem necessary to sort the points in this strip on y. After that, we can limit the number of distance computations involving each point as follows: proceeding through the points in increasing y order, check if each point is inside the vertical strip containing all points in the plane within min of the dividing line. For each such point, compute the distance between it and any point in the
strip whose y-coordinate is less than the y-coordinate of the current point,but not more than min less. The fact that the distance between all pairs of points in each half is at least min means that only a few points are likely to be checked.The above approach can be shown in the worst case to have a running time of N log2N. To actually get an N log N worst case, we must avoid the sort of y. The way to do this is not that complicated, but is subtle. Recall the mergesort routine. Make a merge sort that sorts a linked list (of points) on their y-coordinate -- but at the same time that it is sorting, have it find the closest pair.
Your assignment is to randomly generate a list of 100,000 points (with all the coordinates in the range from 0 to 1000) and find and print the closest
pair of points and their distance apart. You MUST use an algorithm that runs faster than N2; if you can do it in N log N, you can get 5 points extra credit. (continue next open window)

Deliverables:
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Complete ownership and distribution copyrights to all work purchased.



Platform:
(continue)

Compute and print the cpu time for how long your code takes to find the closest pair of points.

Please write this program in C++. I use Visual C++ 6.0 to run it

Must be 100% finished and received by buyer on:
Nov 2, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.

Special Conditions / Other:
Please deliver codes ontime


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
negue
(6 ratings)
in Iasi, Iasi
Romania
Bid id: 359,166
 
$15 (USD) Oct 23, 2002
5:43:50 PM EDT
 9.83
(Excellent)
   
Hi!

I'd like to do your project. It is quite simple and you will surely have it before the deadline.
It will be simple, clear and well explained. Trust me, I have experience in algorithms.

Yours,
Eugen
 




Quick Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Anuj Gakhar
Rated a 9.98 on 100 jobs 
Securenext
Rated a 9.96 on 109 jobs 
Buddies
Rated a 9.82 on 80 jobs 
Andrei Remenchuk
Rated a 10 on 13 jobs 
Codman
Rated a 9.97 on 149 jobs 
Michael Sharp
Rated a 9.97 on 181 jobs 
D-N-S
Rated a 9.93 on 37 jobs 
markesh
Rated a 10 on 22 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
Tometa Software, Inc.
Rated a 10 on 10 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.