equal
deleted
inserted
replaced
876 |
876 |
877 /// \brief Constructor. |
877 /// \brief Constructor. |
878 /// |
878 /// |
879 /// Constructor for creating in-degree map. |
879 /// Constructor for creating in-degree map. |
880 InDegMap(const _Graph& _graph) : |
880 InDegMap(const _Graph& _graph) : |
881 _Graph::NodeMap<int>(_graph,0), |
881 _Graph::template NodeMap<int>(_graph,0), |
882 graph(_graph) |
882 graph(_graph) |
883 { |
883 { |
884 AlterationNotifier<typename _Graph::Edge> |
884 AlterationNotifier<typename _Graph::Edge> |
885 ::ObserverBase::attach(graph.getNotifier(typename _Graph::Edge())); |
885 ::ObserverBase::attach(graph.getNotifier(typename _Graph::Edge())); |
886 |
886 |
942 |
942 |
943 /// \brief Constructor. |
943 /// \brief Constructor. |
944 /// |
944 /// |
945 /// Constructor for creating out-degree map. |
945 /// Constructor for creating out-degree map. |
946 OutDegMap(const _Graph& _graph) : |
946 OutDegMap(const _Graph& _graph) : |
947 _Graph::NodeMap<int>(_graph,0), |
947 _Graph::template NodeMap<int>(_graph,0), |
948 graph(_graph) |
948 graph(_graph) |
949 { |
949 { |
950 AlterationNotifier<typename _Graph::Edge> |
950 AlterationNotifier<typename _Graph::Edge> |
951 ::ObserverBase::attach(graph.getNotifier(typename _Graph::Edge())); |
951 ::ObserverBase::attach(graph.getNotifier(typename _Graph::Edge())); |
952 |
952 |