1.1 --- a/lemon/bits/base_extender.h Thu Oct 09 13:52:01 2008 +0100
1.2 +++ b/lemon/bits/base_extender.h Thu Oct 09 14:37:44 2008 +0100
1.3 @@ -28,14 +28,14 @@
1.4 #include <lemon/concept_check.h>
1.5 #include <lemon/concepts/maps.h>
1.6
1.7 -///\ingroup digraphbits
1.8 -///\file
1.9 -///\brief Extenders for the digraph types
1.10 +//\ingroup digraphbits
1.11 +//\file
1.12 +//\brief Extenders for the digraph types
1.13 namespace lemon {
1.14
1.15 - /// \ingroup digraphbits
1.16 - ///
1.17 - /// \brief BaseDigraph to BaseGraph extender
1.18 + // \ingroup digraphbits
1.19 + //
1.20 + // \brief BaseDigraph to BaseGraph extender
1.21 template <typename Base>
1.22 class UndirDigraphExtender : public Base {
1.23
1.24 @@ -74,37 +74,37 @@
1.25 }
1.26 };
1.27
1.28 - /// First node of the edge
1.29 + // First node of the edge
1.30 Node u(const Edge &e) const {
1.31 return Parent::source(e);
1.32 }
1.33
1.34 - /// Source of the given arc
1.35 + // Source of the given arc
1.36 Node source(const Arc &e) const {
1.37 return e.forward ? Parent::source(e) : Parent::target(e);
1.38 }
1.39
1.40 - /// Second node of the edge
1.41 + // Second node of the edge
1.42 Node v(const Edge &e) const {
1.43 return Parent::target(e);
1.44 }
1.45
1.46 - /// Target of the given arc
1.47 + // Target of the given arc
1.48 Node target(const Arc &e) const {
1.49 return e.forward ? Parent::target(e) : Parent::source(e);
1.50 }
1.51
1.52 - /// \brief Directed arc from an edge.
1.53 - ///
1.54 - /// Returns a directed arc corresponding to the specified edge.
1.55 - /// If the given bool is true, the first node of the given edge and
1.56 - /// the source node of the returned arc are the same.
1.57 + // \brief Directed arc from an edge.
1.58 + //
1.59 + // Returns a directed arc corresponding to the specified edge.
1.60 + // If the given bool is true, the first node of the given edge and
1.61 + // the source node of the returned arc are the same.
1.62 static Arc direct(const Edge &e, bool d) {
1.63 return Arc(e, d);
1.64 }
1.65
1.66 - /// Returns whether the given directed arc has the same orientation
1.67 - /// as the corresponding edge.
1.68 + // Returns whether the given directed arc has the same orientation
1.69 + // as the corresponding edge.
1.70 static bool direction(const Arc &a) { return a.forward; }
1.71
1.72 using Parent::first;