GetOutDegree more implementation independent
This commit is contained in:
parent
52d1c1abfc
commit
b87d6f3c66
@ -81,7 +81,7 @@ public:
|
||||
}
|
||||
|
||||
unsigned GetOutDegree( const NodeIterator &n ) const {
|
||||
return _nodes[n].edges;
|
||||
return BeginEdges(n)-EndEdges(n) - 1;
|
||||
}
|
||||
|
||||
NodeIterator GetTarget( const EdgeIterator &e ) const {
|
||||
|
Loading…
Reference in New Issue
Block a user