Changeset 1980:a954b780e3ab in lemon0.x for lemon/graph_adaptor.h
 Timestamp:
 02/23/06 09:55:54 (14 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@2573
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/graph_adaptor.h
r1979 r1980 699 699 700 700 template <typename _Graph> 701 class Undir ectGraphAdaptorBase :701 class UndirGraphAdaptorBase : 702 702 public UGraphBaseExtender<GraphAdaptorBase<_Graph> > { 703 703 public: … … 705 705 typedef UGraphBaseExtender<GraphAdaptorBase<_Graph> > Parent; 706 706 protected: 707 Undir ectGraphAdaptorBase() : Parent() { }707 UndirGraphAdaptorBase() : Parent() { } 708 708 public: 709 709 typedef typename Parent::UEdge UEdge; … … 713 713 class EdgeMap { 714 714 protected: 715 const Undir ectGraphAdaptorBase<_Graph>* g;715 const UndirGraphAdaptorBase<_Graph>* g; 716 716 template <typename TT> friend class EdgeMap; 717 717 typename _Graph::template EdgeMap<T> forward_map, backward_map; … … 720 720 typedef Edge Key; 721 721 722 EdgeMap(const Undir ectGraphAdaptorBase<_Graph>& _g) : g(&_g),722 EdgeMap(const UndirGraphAdaptorBase<_Graph>& _g) : g(&_g), 723 723 forward_map(*(g>graph)), backward_map(*(g>graph)) { } 724 724 725 EdgeMap(const Undir ectGraphAdaptorBase<_Graph>& _g, T a) : g(&_g),725 EdgeMap(const UndirGraphAdaptorBase<_Graph>& _g, T a) : g(&_g), 726 726 forward_map(*(g>graph), a), backward_map(*(g>graph), a) { } 727 727 … … 749 749 typedef UEdge Key; 750 750 751 UEdgeMap(const Undir ectGraphAdaptorBase<_Graph>& g) :751 UEdgeMap(const UndirGraphAdaptorBase<_Graph>& g) : 752 752 map(*(g.graph)) { } 753 753 754 UEdgeMap(const Undir ectGraphAdaptorBase<_Graph>& g, T a) :754 UEdgeMap(const UndirGraphAdaptorBase<_Graph>& g, T a) : 755 755 map(*(g.graph), a) { } 756 756 … … 774 774 /// \author Marton Makai 775 775 template<typename _Graph> 776 class Undir ectGraphAdaptor :776 class UndirGraphAdaptor : 777 777 public UGraphAdaptorExtender< 778 Undir ectGraphAdaptorBase<_Graph> > {778 UndirGraphAdaptorBase<_Graph> > { 779 779 public: 780 780 typedef _Graph Graph; 781 781 typedef UGraphAdaptorExtender< 782 Undir ectGraphAdaptorBase<_Graph> > Parent;782 UndirGraphAdaptorBase<_Graph> > Parent; 783 783 protected: 784 Undir ectGraphAdaptor() { }785 public: 786 Undir ectGraphAdaptor(_Graph& _graph) {784 UndirGraphAdaptor() { } 785 public: 786 UndirGraphAdaptor(_Graph& _graph) { 787 787 setGraph(_graph); 788 788 }
Note: See TracChangeset
for help on using the changeset viewer.