(change: u64, start: u64, end: u64)
| 182 | }; |
| 183 | |
| 184 | fn make_vertex(change: u64, start: u64, end: u64) -> GraphNode<NodeId> { |
| 185 | GraphNode::new( |
| 186 | NodeId::new(change), |
| 187 | ChangePosition::new(start), |
| 188 | ChangePosition::new(end), |
| 189 | ) |
| 190 | } |
| 191 | |
| 192 | /// Build a graph where the vertex at `parent_idx` has the given child |
| 193 | /// vertex indices. Vertices are pushed in order 0..N where 0 is DUMMY. |
no outgoing calls