Data Structure and Algorithms C++ - repost

已取消 已发布的 May 30, 2013 货到付款
已取消 货到付款

Introduction

The Travelling Salesman Problem (TSP) is one of the most studied problems in computer

science.

C++ Programing

The aim of the problem is to find the shortest route which visits all members of a collection

of locations returning to the starting point.

Task

Your program will do the following:

1. Randomly select a number of points on a Cartesian plane with x and y co-ordinates

between 0 and 100 inclusive to be the cities for the TSP tour.

2. From the points, create a fully connected graph where the points are the vertices of the

graph. A fully connected graph has an edge from each vertex to every other vertex.

The edges will be undirected. Each edge weight will be the Euclidean distance (d)

between the two vertices for the edge:

√( ) ( )

3. Optional: The result for an optimal tour could be calculated.

a. A recursive brute force solution has a limit of 10 to 12 vertices. Implementing

this solution if you cannot get the approximation solution working will earn

some marks.

b. A dynamic programming solution has a limit of around 20 to 23 vertices.

Implementing this algorithm for comparison with the approximate solution will

enable you to earn the top marks for this assignment.

Algorithms for these two optimal approaches are presented below.

4. Calculate an approximation of the distance for the TSP tour of the randomly

generated cities using the Minimum Spanning Tree/Depth First Search algorithm

presented below.

5. Output the results of the optimal and/or approximation of the tour.

6. The program must also be able to read test files from the command line (as for

Attached is the criteria in which this project is be completed against, please peruse this before you make your bid. I will allow 1 hour of bids minimum before awarding project.

I will need to receive your first complete draft minimum 24 hours before the final delivery date. I will then provide feedback and suggestions to the first draft and send back to you for you to make appropriate amendments and resubmit to me no later than the final delivery date.

.

I will send you the original criteria sheet after I have awarded the project! Thanks

算法 C++编程

项目ID: #4571876

关于项目

10个方案 远程项目 活跃的May 31, 2013

有10名威客正在参与此工作的竞标,均价$155/小时

dobreiiita

Hi, I can deliver perfect codes. Thanks

$149 AUD 在3天内
(119条评论)
6.0
renardpaul

Hello, I can implement this perfectly in C++ for you. Thanks, Paul

$250 AUD 在7天内
(8条评论)
4.8
programer218

I can work for you!

$210 AUD 在3天内
(1条评论)
4.4
jasqwerty

Hey Ame, I'm a former University Comp Sci TA, so I can get your project done quickly and accurately, and most importantly, since I've graded similar projects; I can do it in a style expected of a student project, guara 更多

$131 AUD 在5天内
(6条评论)
3.5
ouyongbin

I am an expert in designing and implementing algorithms.

$250 AUD 在5天内
(1条评论)
3.6
romanuwa

I have solved this problem earlier please check PMB.

$150 AUD 在5天内
(3条评论)
2.7
sarconi

I'm a computing science graduate with 5+ years experience in software development. I've studied advance algorithmics and would be keen to help you with this project

$80 AUD 在3天内
(0条评论)
0.0
OlegOvcharenko

I can help you with this assignment. To solve 1 we'll make a City type, then randomly generate n cities and fill them into the City array. To solve 2 we'll represent graph as a 2d-array of distances between cities. 更多

$120 AUD 在5天内
(0条评论)
0.0
smartworker81

Hi, i'm ready, check PM please.

$150 AUD 在4天内
(0条评论)
0.0
MorningStar118

I am very interested in your project. I can deliever high quality codes. Thanks.

$155 AUD 在3天内
(0条评论)
0.0
patilarpith

I can get it done quick and easy.

$133 AUD 在3天内
(0条评论)
0.0
sandervandijk

I have extensive experience with algorithms and search methods, having a MSc in AI, and having TAd on these subjects. I will be able to do this quickly, implementing all 3 methods.

$111 AUD 在3天内
(0条评论)
0.0