SimplexTree.vertex_collapse
SimplexTree.SimplexTree.vertex_collapse(u, v, w)
Maps a pair of vertices into a single vertex.
Parameters
Name | Type | Description | Default |
---|---|---|---|
u | int | the first vertex in the free pair. | required |
v | int | the second vertex in the free pair. | required |
w | int | the target vertex to collapse to. | required |
Returns
Name | Type | Description |
---|---|---|
collapsed | bool | whether the collapse was performed. |