diff -r e667cd5c0886 -r 308150155bb5 lemon/bfs.h --- a/lemon/bfs.h Mon Jul 04 16:18:11 2005 +0000 +++ b/lemon/bfs.h Mon Jul 04 16:27:54 2005 +0000 @@ -84,9 +84,13 @@ ///Instantiates a ProcessedMap. ///This function instantiates a \ref ProcessedMap. - ///\param G is the graph, to which + ///\param g is the graph, to which ///we would like to define the \ref ProcessedMap +#ifdef DOXYGEN + static ProcessedMap *createProcessedMap(const GR &g) +#else static ProcessedMap *createProcessedMap(const GR &) +#endif { return new ProcessedMap(); } @@ -659,7 +663,7 @@ ///Copies the shortest path to \c t into \c p ///This function copies the shortest path to \c t into \c p. - ///If it \c \t is a source itself or unreachable, then it does not + ///If \c t is a source itself or unreachable, then it does not ///alter \c p. ///\todo Is it the right way to handle unreachable nodes? ///\return Returns \c true if a path to \c t was actually copied to \c p, @@ -770,9 +774,13 @@ ///Instantiates a PredMap. ///This function instantiates a \ref PredMap. - ///\param G is the graph, to which we would like to define the PredMap. + ///\param g is the graph, to which we would like to define the PredMap. ///\todo The graph alone may be insufficient to initialize +#ifdef DOXYGEN + static PredMap *createPredMap(const GR &g) +#else static PredMap *createPredMap(const GR &) +#endif { return new PredMap(); } @@ -803,9 +811,13 @@ ///Instantiates a ProcessedMap. ///This function instantiates a \ref ProcessedMap. - ///\param G is the graph, to which + ///\param g is the graph, to which ///we would like to define the \ref ProcessedMap +#ifdef DOXYGEN + static ProcessedMap *createProcessedMap(const GR &g) +#else static ProcessedMap *createProcessedMap(const GR &) +#endif { return new ProcessedMap(); } @@ -833,8 +845,12 @@ ///Instantiates a DistMap. ///This function instantiates a \ref DistMap. - ///\param G is the graph, to which we would like to define the \ref DistMap + ///\param g is the graph, to which we would like to define the \ref DistMap +#ifdef DOXYGEN + static DistMap *createDistMap(const GR &g) +#else static DistMap *createDistMap(const GR &) +#endif { return new DistMap(); }