decrement the edge counter by amount
| 49 | |
| 50 | // decrement the edge counter by amount |
| 51 | static inline void GraphStatistics_DecEdgeCount |
| 52 | ( |
| 53 | GraphStatistics *stats, |
| 54 | RelationID r, |
| 55 | uint64_t amount |
| 56 | ) { |
| 57 | ASSERT(r < array_len(stats->edge_count) && stats->edge_count[r] >= amount); |
| 58 | stats->edge_count[r] -= amount; |
| 59 | } |
| 60 | |
| 61 | // increment the node counter by amount |
| 62 | static inline void GraphStatistics_IncNodeCount |
no test coverage detected