Find Jobs
Hire Freelancers

Data Structures - Greedy Algorithm Graph Traversal

$30-250 USD

Terminado
Publicado hace más de 9 años

$30-250 USD

Pagado a la 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 del proyecto: 6797896

Información sobre el proyecto

11 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
A proposal has not yet been provided
$66 USD en 3 días
4,9 (390 comentarios)
6,5
6,5
11 freelancers están ofertando un promedio de $138 USD por este trabajo
Avatar del usuario
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 en 1 día
4,8 (35 comentarios)
5,4
5,4
Avatar del usuario
Hi I am very interested in your project. I can do your project asap. I am ready to do your job. Regards.
$210 USD en 3 días
5,0 (23 comentarios)
4,8
4,8
Avatar del usuario
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 en 8 días
5,0 (3 comentarios)
2,4
2,4
Avatar del usuario
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 en 2 días
4,1 (3 comentarios)
1,6
1,6
Avatar del usuario
I am a Computer Software Engineer. Doing my research in Artificial intelligence . I will be helpful to you. So lets discuss it.
$250 USD en 7 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
i work on greedy algorithms and dynamic programing for 2 years and have usefull skill for implemnting such a project
$55 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I like to solve algorithms. Let's have more such task. With interest I will carry them out. Sincerely, Serg.
$50 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 6 días
0,0 (1 comentario)
0,0
0,0
Avatar del usuario
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 en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi, I'm ready to start discussing...........................................................................................
$170 USD en 10 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Indianapolis, United States
5,0
5
Forma de pago verificada
Miembro desde sept 30, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos 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)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.