find_all_reidemeister_moves#
- find_all_reidemeister_moves(k)#
Finds all possible Reidemeister moves for a given knot diagram.
This generator function identifies and yields all valid locations for Reidemeister moves that can be applied to the knot diagram k. The moves include: Reidemeister 1 (both removing and adding a kink), Reidemeister 2 (both poking and unpoking operations), and Reidemeister 3 (triangle moves).
- Args:
- k: The knot diagram to perform the Reidemeister moves on. The type of
k is determined by the implementation of the relevant Reidemeister move functions.
- Yields:
- location: Represents the location of a specific type of Reidemeister
move that can be applied to the given knot diagram k.