stingergraph / StingerGraphs.jl

Julialang bindings to the STINGER graph database
http://www.stingergraph.com
Other
5 stars 3 forks source link

Bfs Implementation #4

Closed rohitvarkey closed 7 years ago

rohitvarkey commented 7 years ago

@jpfairbanks What should the value of the source vertex be in the parents array returned? I've put that to -1 currently to signify no parent.

jpfairbanks commented 7 years ago

Yeah -1 for source and -2 for no parents is fine. Its just a convention that we can change later if there is a good argument to do something else.