.
1.1 --- a/src/work/athos/xy/xy.h Mon Mar 22 17:27:20 2004 +0000
1.2 +++ b/src/work/athos/xy/xy.h Tue Mar 23 11:12:48 2004 +0000
1.3 @@ -17,10 +17,10 @@
1.4 public:
1.5
1.6 ///Default constructor: both coordinates become 0
1.7 - xy() { _x=_y=0; }
1.8 + xy() : _x(0), _y(0 ){ /*_x=_y=0;*/ }
1.9
1.10 ///Constructing from coordinates
1.11 - xy(T a, T b) { _x=a; _y=b; }
1.12 + xy(T a, T b) : _x(a), _x(b) { /*_x=a; _y=b;*/ }
1.13
1.14 ///Gives back the x coordinate
1.15 T x(){
2.1 --- a/src/work/marci/graph_wrapper.h Mon Mar 22 17:27:20 2004 +0000
2.2 +++ b/src/work/marci/graph_wrapper.h Tue Mar 23 11:12:48 2004 +0000
2.3 @@ -328,8 +328,15 @@
2.4 template<typename GraphWrapper>
2.5 class RevGraphWrapper : public GraphWrapperSkeleton<GraphWrapper> {
2.6 public:
2.7 + typedef typename GraphWrapperSkeleton<GraphWrapper>::Node Node;
2.8 + typedef typename GraphWrapperSkeleton<GraphWrapper>::Edge Edge;
2.9 typedef typename GraphWrapperSkeleton<GraphWrapper>::OutEdgeIt InEdgeIt;
2.10 typedef typename GraphWrapperSkeleton<GraphWrapper>::InEdgeIt OutEdgeIt;
2.11 +
2.12 + Node head(const Edge& e) const
2.13 + { return GraphWrapperSkeleton<GraphWrapper>::tail(e); }
2.14 + Node tail(const Edge& e) const
2.15 + { return GraphWrapperSkeleton<GraphWrapper>::head(e); }
2.16
2.17 RevGraphWrapper(GraphWrapper _gw) :
2.18 GraphWrapperSkeleton<GraphWrapper>(_gw) { }