Find Jobs
Hire Freelancers

Data Structures - Greedy Algorithm Graph Traversal

$30-250 USD

Concluído
Publicado há mais de 9 anos

$30-250 USD

Pago na entrega
A map is provided as gray level image in raw format (available below) and the value at a point (pixel) is its height information. From a point, one can only travel in horizontal or vertical direction (edge) to its adjacent point. The cost of a horizontal or vertical shift between two adjacent points is their height difference, which corresponds to energy spent on the movement, e.g., cost(a, b) =1+|map(a)-map(b)| for adjacent points a and b. Compute the shortest path starting from top left corner point (0, 0) to all other points by using the greedy algorithm. The cost of a path is the sum of edge costs in horizontal and vertical directions. Input Map: a 2D array in row based order. It has W*H = 250*200 dots(points). Value at a position in the map: 1byte character (8bits) for height value, i.e., the height value ranges from 0 to 255. Output Map: (1) A grey level image to show the final direction to reach every point in the map. In detail, the value at each point shows the direction from its previous position to it on the shortest path. For example, at a point, you can use a number from 50, 100, 150, 200 to represent a direction among N(↑),E(→),S(↓),W(←). (2) Mark a path in another image file. (3) A txt file to display a value at each point that is the shortest path cost to the point.(For this one, as each node will take a sum, which the value near right down corner will be far greater then 255, so you can output this one as txt file and save the actual number) (4) Improvement: efforts to speed up the computation and reduce the memory are encouraged. For example, you can use additional arrays as the working space to register immediate values, use separate data structures such as link list, queue, and heap to reduce the computation complexity. [login to view URL] for input You can use [login to view URL] or start from scratch. 2 sample file output. In [login to view URL], the path is marked as 255, this file shows the path. In [login to view URL], the numbers represent the directions. 50 means ↑, 100 means →, 150 means ↓, 200 means ← Please demonstrate you understand project when bidding to save both of us time. Thanks.
ID do Projeto: 6797896

Sobre o projeto

11 propostas
Projeto remoto
Ativo há 9 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
A proposal has not yet been provided
$66 USD em 3 dias
4,9 (390 avaliações)
6,5
6,5
11 freelancers estão ofertando em média $138 USD for esse trabalho
Avatar do Usuário
I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ scripts which has the same effect, of course garbage collection included. I also made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
$150 USD em 1 dia
4,8 (35 avaliações)
5,4
5,4
Avatar do Usuário
Hi I am very interested in your project. I can do your project asap. I am ready to do your job. Regards.
$210 USD em 3 dias
5,0 (23 avaliações)
4,8
4,8
Avatar do Usuário
Hi I have 2+ years experience working with similar skills, I can get the task done for you, so if you are interested in a collaboration please contact me..... With warm regards
$205 USD em 8 dias
5,0 (3 avaliações)
2,4
2,4
Avatar do Usuário
Hi, I have 10+ year experience. I will utilize greedy approach, this will result into usual Dijkstra algorithm. I will provide you complete implementation within 2 days. Thanks, Anurag
$55 USD em 2 dias
4,1 (3 avaliações)
1,6
1,6
Avatar do Usuário
I am a Computer Software Engineer. Doing my research in Artificial intelligence . I will be helpful to you. So lets discuss it.
$250 USD em 7 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
i work on greedy algorithms and dynamic programing for 2 years and have usefull skill for implemnting such a project
$55 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I like to solve algorithms. Let's have more such task. With interest I will carry them out. Sincerely, Serg.
$50 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
We are the leading young professional software development organization having extensive technical expertise and knowledge in developing, managing, optimizing and customizing software’s by implementing these software’s in different demanding programming tools and latest technologies especially in Microprocessor Assembly, ASP,ASP.net,VB,VB.net,.Net, Linux, C,C++, C #, Java, SQL, Microsoft Access. We have fully studied your project requirements description and also highlight main points in order to perform your demands which is required to complete the project in a given proposed time frame, as our commitment is a key to our successful journey which also inspired our employers who gave us the full rating on our completed projects as a "Project Completion Rate" which is also shown in our profile. Moreover we are also fully committed to accomplish the task assigned by you with the required state of the art technology to fulfill your requirements as prescribed in this project. I thinks that this is the best way to utilize our impressive skills under the light of our previous experiences and excellent reviews given by the employers. We wish to render you our services and hopeful not to let you disappoint. We will also be responsive with a positive gesture without demanding any further cost. We are quite optimistic in a bid to receive this project. Thanks With Best Regards Your Well Wisher Motivated Young Freelancer
$110 USD em 6 dias
0,0 (1 avaliação)
0,0
0,0
Avatar do Usuário
Hi, I'm an experienced C++ programmer and I know algorithms very well. I can implement Dijkstra algorithm in order to find the shortest path in the map you provide.
$55 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Hi, I'm ready to start discussing...........................................................................................
$170 USD em 10 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
Indianapolis, United States
5,0
5
Método de pagamento verificado
Membro desde set. 30, 2014

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.