Find Jobs
Hire Freelancers

single source shortest path using spark

$10-35 USD

Cancelled
Posted over 6 years ago

$10-35 USD

Paid on delivery
The purpose of this project is to develop a program to solve the single source shortest distance problem using Spark. solve the single source shortest distance problem using Spark: for each node in a directed graph, calculate the shortest distance from the node with id=0 to this node. The input directed graph is a dataset of edges, where an edge from the node i to the node j is represented in the input text file as: i,d,j where d is the distance from node i to node j. (Numbers i,j, and d are long integers.) Let distance[i] be the shortest distance from the node with id=0 to the node with id=i. The pseudo-code to calculate distance[i] is as follows: distance[0] = 0 for each node i <> 0: distance[i] = Long.MAX_VALUE repeat 4 times: for each edge (i,d,j): if distance[j] > distance[i]+d distance[j] = distance[i]+d Your code that calculates the new distances from the old must be repeated 4 times only. Hint: You may want to group edges by their destination as a triple (j,distance[j],{(i1,d1),(i2,d2),...}), which are derived from the edges (i1,d1,j),(i2,d2,j),... , where distance[j] is initially Long.MAX_VALUE.
Project ID: 15586917

About the project

4 proposals
Remote project
Active 6 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 $149 USD for this job
User Avatar
Dear Customer, My name is Yuriy Tumakha. I am interested in your shortest path spark project. I am Senior Scala/Java Developer with 12 years of experience and strong problem-solving skills. Relevant Skills and Experience Scala, Spark Proposed Milestones $125 USD - Task 1 $125 USD - Task 2
$250 USD in 3 days
4.6 (5 reviews)
4.3
4.3
User Avatar
Hi, I am Amit. I have experience in Spark and Scala. I can implement this in Spark using Scala Relevant Skills and Experience Spark Scala Proposed Milestones $110 USD - implementation using Spark and Scala Please share a sample graph with the expected output
$110 USD in 1 day
5.0 (2 reviews)
2.6
2.6
User Avatar
I shall implement this feature using the graphX library of sprak.
$35 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Arlington, United States
5.0
1
Payment method verified
Member since Nov 8, 2017

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.