Find Jobs
Hire Freelancers

World Geography

$10-30 USD

Closed
Posted over 5 years ago

$10-30 USD

Paid on delivery
For this project you will be designing and implementing a system, in either C or C++,to color maps in such a way that areas that share borders do not have the same color. You will be given the geographic area as an adjacency matrix, and you will have a limited set of colors to work with, so a proper algorithm is very important. program must provide the following functionality and adhere to the following constraints: 1- 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 2- System must transform and store the given adjacency matrix as a graph in adjacency list form 3- system should color all of the areas using the following constraints: -- you have access to the colors: red, green, blue, magenta, cyan, light gray -- 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 4- 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 5- Your 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 colorstowork 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.
Project ID: 18279917

About the project

4 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $44 USD for this job
User Avatar
Hi there, nice to meet you. I’d like to be considered for your proposed problem. I'v checked your requirements carefully. I'v rich experience in C, C++ development etc. I am rated in this field as the veteran. I can start work immediately now for you and can provide you perfect result for your requirements. I have no experience working with other employers, but I think they are the best fit for my ability. I am sure I can satisfy you surely and complete in a short time. Thank you for spending your valuable time on my reporter.
$55 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I am a C & C++ expert. I have just gone through your details carefully and now i feel i could be the right one for this project. This project is really doable for me and i am extremely motivated to do this with you, for i have rich experience in this kinda world geography. This is my first project , so I will give some free services for you. Best regards
$55 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
This sounds like a very fun project, also could put some of my GUI skills to work. Cannot wait to start!
$15 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Allen, United States
5.0
4
Payment method verified
Member since Feb 28, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.