Closed rohitvarkey closed 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.
-1
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.
@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.