| 56 | ) const { return number_of_nodes()-1; } |
| 57 | |
| 58 | unsigned long get_neighbor_idx ( |
| 59 | unsigned long node_id1, |
| 60 | unsigned long node_id2 |
| 61 | ) const |
| 62 | { |
| 63 | if (node_id2 < node_id1) |
| 64 | return node_id2; |
| 65 | else |
| 66 | return node_id2-1; |
| 67 | } |
| 68 | |
| 69 | unsigned long get_neighbor ( |
| 70 | unsigned long node_id, |
nothing calls this directly
no outgoing calls
no test coverage detected