Find Jobs
Hire Freelancers

C++ code on graphs

$10-30 USD

Closed
Posted over 8 years ago

$10-30 USD

Paid on delivery
1. Read in a graph from [login to view URL] in the following format: node# 1st-arc-to-node# weight-for-previous-arc 2nd-arc-to-node# weight-for-previous-arc 3rd-arc-to-node# weight-for-previous-arc ... As an example: 1 2 10 3 5 4 100 2 1 5 4 3 50 2 10 In the above example, node 1 has an arc with weight 10 to node 2, weight 5 to node 3, and weight 100 to node 4. Node 2 has an arc with weight 5 to node 1. Node 4 has an arc to node 3 with weight 50 and to node 2 with weight 10. Note that in the above example, there IS a node 3 despite not being specifically declared on a line. Any node that is either explicitly defined on its own line, or into which an arc goes, must be considered to exist. 2. Display an ascii art image of the graph on the screen. An sample for the above example is shown below. It is not the only possible example: +-----5-------->[3] | ^ | | | 50 | | +->[1]--10-->[2]<-10-+ | | | | +---=---5-----+ | | | 100 | | | V | [4]---------------+ As can be seen in the above example, use the following format: nodes are written inside brackets vertical lines are drawn with | horizontal lines are drawn with - 90 degree bends, and intersections between lines (in order to share one line between two arcs) are drawn with + a horizontal line crossing but not intersecting with a vertical line is drawn with an = arc weights are written somewhere on the arc's line; if a line is shared between two arcs, only the part of the line used by only ONE arc may show the arc weight to draw arrows, use <, >, V, and ^. You do NOT need to optimize for the least number of crosses, turns, or intersections. You DO need to account for every possible graph where id(v) + od(v) <= 4 for all nodes v. 3. Display a chart, in an easily readable format, of the shortest path between each node s and every node t reachable from node s.
Project ID: 9161487

About the project

12 proposals
Remote project
Active 8 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
12 freelancers are bidding on average $60 USD for this job
User Avatar
A proposal has not yet been provided
$80 USD in 1 day
4.9 (22 reviews)
4.0
4.0
User Avatar
Thanks for your project. I have 25 years experience programming in C++. I will create those graph functions for you in C++. A milestone payment for the full budget for this project must be deposited with this site before your offer can be accepted. Alan Idler Chief Software Architect Idleswell Software Creations
$168 USD in 4 days
5.0 (2 reviews)
3.8
3.8
User Avatar
A proposal has not yet been provided
$45 USD in 1 day
4.9 (10 reviews)
3.3
3.3
User Avatar
Hey. I have read the entire brief (draw weighted map on the terminal) and I understand perfectly. I can have it done in 1 - 2 days.
$20 USD in 1 day
4.6 (1 review)
2.1
2.1
User Avatar
Hi I think I have understood your project but I need to consult with you furthermore if you can trust me then I would do more study on this project and assure you that I can complete it in time. It is related to data structure & algorithm subject which I have completed looking forward for your response.
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$45 USD in 3 days
0.0 (1 review)
0.0
0.0
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$25 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello! I read your description carefully. I have confidence about your project because I have rich experiences in Matlab, Mathematics, Statistics, Machine learning and so on. Please feel free to discuss with me. If you give me a chance to work on your project, I will do my best and offer the excellent result. I wish this project will be a golden opportunity to cooperate with you forever. I will be very happy to hear good news from you. Thanks
$100 USD in 2 days
5.0 (1 review)
0.1
0.1

About the client

Flag of UNITED STATES
United States
0.0
0
Payment method verified
Member since Dec 20, 2015

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) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
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.