Boost logo

Boost :

Subject: Re: [boost] [graph] dijkstra pull request ping
From: Marcin Zalewski (marcin.zalewski_at_[hidden])
Date: 2015-10-22 09:21:12

On Thu, Oct 22, 2015 at 3:25 AM Piotr Wygocki <vwygos_at_[hidden]> wrote:

> > We should probably use the pseudo code in the documentation:
> >
> >
> >
> >
> > The pseudo code seems to support your assertion that a vertex should not
> be
> > discovered if relaxation was not successful. So it seems that the actual
> > implementation is not in agreement with the documentation. Do you agree
> > with that characterization of the issue?
> >
> Agreed.
> Alex and Tim suggested two versions of algorithm. We have already 7
> versions of Dijkstra's algorithm (one is not documented), having two
> versions of dijkstra_no_init would introduce another two overloads. IMO
> this should be done only in case in which we find sensible use cases for
> both versions. On the other hand, this change might be breaking for some
> users but I expect this to happen very rarely.

I agree that two versions are the worst case scenario that should only
happen if we know of benefits of such a solution.

Boost list run by bdawes at, gregod at, cpdaniel at, john at