| 133 | } |
| 134 | |
| 135 | int node::excentricity() const |
| 136 | { |
| 137 | bfs b; |
| 138 | b.start_node(*this); |
| 139 | b.calc_level(true); |
| 140 | b.run(*data->owner); |
| 141 | |
| 142 | node last_node = *(--b.end()); |
| 143 | |
| 144 | return b.level(last_node); |
| 145 | } |
| 146 | |
| 147 | GTL_EXTERN bool operator==(GTL::node v1, GTL::node v2) |
| 148 | { |
no test coverage detected