[Lemon-commits] [lemon_svn] marci: r438 - hugo/trunk/src/include/skeletons

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:39:27 CET 2006


Author: marci
Date: Wed Apr 14 13:48:46 2004
New Revision: 438

Modified:
   hugo/trunk/src/include/skeletons/graph.h

Log:
constructor az elejere


Modified: hugo/trunk/src/include/skeletons/graph.h
==============================================================================
--- hugo/trunk/src/include/skeletons/graph.h	(original)
+++ hugo/trunk/src/include/skeletons/graph.h	Wed Apr 14 13:48:46 2004
@@ -31,7 +31,11 @@
   class GraphSkeleton
   {
   public:
-    
+    /// Defalult constructor.
+    GraphSkeleton() {}
+    ///Copy consructor.
+    GraphSkeleton(const GraphSkeleton &G) {}
+
     /// The base type of the node iterators.
 
     /// This is the base type of each node iterators,
@@ -219,23 +223,23 @@
 
     ///\todo Maybe, it would be better if iterator converted to
     ///bool directly, as Jacint prefers.
-    bool valid(const Node) const { return true;}
+    bool valid(const Node&) const { return true;}
     /// Checks if an edge iterator is valid
 
     ///\todo Maybe, it would be better if iterator converted to
     ///bool directly, as Jacint prefers.
-    bool valid(const Edge) const { return true;}
+    bool valid(const Edge&) const { return true;}
 
     ///Gives back the \e id of a node.
 
     ///\warning Not all graph structures provide this feature.
     ///
-    int id(const Node) const { return 0;}
+    int id(const Node&) const { return 0;}
     ///Gives back the \e id of an edge.
 
     ///\warning Not all graph structures provide this feature.
     ///
-    int id(const Edge) const { return 0;}
+    int id(const Edge&) const { return 0;}
 
     //void setInvalid(Node &) const {};
     //void setInvalid(Edge &) const {};
@@ -260,13 +264,6 @@
 
     int nodeNum() const { return 0;}
     int edgeNum() const { return 0;}
- 
-    /// Defalult constructor.
-    GraphSkeleton() {}
-    ///Copy consructor.
-    GraphSkeleton(const GraphSkeleton &G) {}
-  
- 
 
     ///Read/write/reference map of the nodes to type \c T.
 



More information about the Lemon-commits mailing list