Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

How to run SSSP? #2

Open
CinderaLuo opened this issue Oct 29, 2015 · 2 comments
Open

How to run SSSP? #2

CinderaLuo opened this issue Oct 29, 2015 · 2 comments

Comments

@CinderaLuo
Copy link

I run algorithm SSSP by using dataset whose structure is edge list and only have two arguments.And the dataset is downloaded from http://snap.stanford.edu/data/index.html .But the result of program shows the value of all verices is 0. So how to test algorithm SSSP in your paper?Please help.

@CinderaLuo
Copy link
Author

I just found that you set the weight of all vertices in completeEntryCuSha(cusha-UserFunctions.cuh) as 0 when running SSSP. Am I right?

@farkhor
Copy link
Owner

farkhor commented Oct 29, 2015

The SSSP example expects the 3rd argument in the edge-list to be the edge weight. If such thing does not exist, it assumes the edge weight to be 0, as it is shown in line 38 in user_specified_pre_and_post_processing_functions.hpp.

@farkhor farkhor closed this as completed Dec 19, 2015
@farkhor farkhor reopened this Dec 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants