diff -r 6f1abe741fb6 -r 57c0b110b31e src/hugo/full_graph.h --- a/src/hugo/full_graph.h Tue Jul 20 09:52:03 2004 +0000 +++ b/src/hugo/full_graph.h Tue Jul 20 10:58:11 2004 +0000 @@ -77,8 +77,8 @@ InEdgeIt& first(InEdgeIt& e, const Node v) const { e=InEdgeIt(*this,v); return e; } - static bool valid(Edge e) const { return e.n!=-1; } - static bool valid(Node n) const { return n.n!=-1; } + static bool valid(Edge e) { return e.n!=-1; } + static bool valid(Node n) { return n.n!=-1; } template It getNext(It it) const { It tmp(it); return next(tmp); } @@ -91,10 +91,10 @@ { it.n+=NodeNum; if(it.n>=EdgeNum) it.n=-1; return it; } InEdgeIt& next(InEdgeIt& it) const { if(!((++it.n)%NodeNum)) it.n=-1; return it; } - static EdgeIt& next(EdgeIt& it) const { --it.n; return it; } + static EdgeIt& next(EdgeIt& it) { --it.n; return it; } - static int id(Node v) const { return v.n; } - static int id(Edge e) const { return e.n; } + static int id(Node v) { return v.n; } + static int id(Edge e) { return e.n; } class Node { friend class FullGraph;