| 107 | } |
| 108 | |
| 109 | void firstOut(Arc& arc, const Node& node) const { |
| 110 | if (node>=_n1) |
| 111 | arc = -1; |
| 112 | else |
| 113 | arc = (node + 1) * _n2 - 1; |
| 114 | } |
| 115 | |
| 116 | void nextOut(Arc& arc) const { |
| 117 | if (arc % _n2 == 0) arc = 0; |
no outgoing calls
no test coverage detected