Find Jobs
Hire Freelancers

C++ Project

$10-40 USD

Terminado
Publicado hace más de 5 años

$10-40 USD

Pagado a la entrega
Write a C++ project to color maps in such a way that areas that share borders do not have the same colors. You will be given the geographic area as an adjacency matrix, you will also have a limited set of colors to work with. The program must provide the following functionality Allow the user to input the name of a file describing the geographic region -The first line will be a comma delimited list of area names. -All other lines represent a comma delimited adjacency matrix of the map. -Two areas will be considered adjacent and have an entry of 1. -if they share a geographic border, and a 0 if they do not share a geographic boarder. -An area can never share a border with itself -The ocean should be treated as a geographic area -Your system must transform and store the given adjacency matrix as a graph in adjacency list form -Your system should color all of the areas using the following constraints: -----You have access to the colors: red, green, blue, magenta, cyan, lightgray -----The ocean is always blue, and is the only area that is allowed to be blue -----If two areas are considered adjacent, they are not allowed to be the same color -----Your system should output: The adjacency list of the areas (including the ocean) and each area should always have its assigned color presented with ite.g. Argentina:Green - Chile:Cyan, Uruguay:Magenta, Brazil:Cyan, Paraguay:Red,Bolivia:Magenta, Ocean:Blue ---The degree of each area and the ocean ---The graph’s average degree, round to the nearest whole number your system should color the text for each area the color of its assign color. Bonus: your system must provide all of the previously required outputs and use no more than four colors (plus blue for the ocean) to color the map. The code must be well commented. Suggestions: You may want to manually go through the process of coloring the graph a few times to work out an effective way of coloring all of the areas. You could consider using a DFS or BFS for your traversal of the graph and then assign appropriate colors along the way. Keep in mind that you do have a limited number of colors to work with and that the order in which your assign colors to areas may change the overall region outcome. This also means that there are potentially many equivalent solutions to the coloring problem. Additionally, it has been proven that you do not need more than four colors to color a map, though you will need an extra color specifically for the ocean in this project.
ID del proyecto: 18302053

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 5 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
Hi, I am Shubhashish and interested on your project. I am a regular problem solver in C/C++ on different online judge, rich at algorithms and have attended a lot of programming contest including ACM ICPC where i did code in C/C++. you can checkout my github profile: [login to view URL]
$30 USD en 1 día
5,0 (5 comentarios)
3,5
3,5
4 freelancers están ofertando un promedio de $44 USD por este trabajo
Avatar del usuario
Hi, I can do this. Please let me know to start immediately. i can deliver you on time. Please initiate communication to discuss further. Thanks
$50 USD en 10 días
4,7 (42 comentarios)
5,0
5,0
Avatar del usuario
Dear client. I've read your project description carefully and very interested. Do not ask me about possibility. The answer is always YEAH. If you work with me, you will know why I'm the best candidate. Let's discuss over chat and get started. Waiting for your reply. Best regards.
$60 USD en 1 día
3,5 (11 comentarios)
3,6
3,6
Avatar del usuario
Hello sir, I'm a professional python developer with more than 4 years of experience I've developed alot of projects using python including chat bots, games, web apps, management systems, malware's, data scraping apps and alot others. I also have 3 years of experience using Tkinter and Pygame as GUI modules in python apps. I also have more than 3 years of experience in Java programming, C/C++ Programming, C# Programming and Full stack web development, using HTML, CSS, JavaScript, Bootstrap, JQuery, Django, Node JS, ASP.net, Microsoft Access, SQLite. That's a challenging mathematical project and find myself suitable for this challenge. I'll be happy to work with you on your Project. Please provide me with the full details in the chat and I promise you to be more than satisfied with my work. Hope to hear from you soon. Thank you
$35 USD en 2 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
yeah, United States
5,0
8
Forma de pago verificada
Miembro desde dic 5, 2018

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.