cayleypy.CayleyPath
- class cayleypy.CayleyPath[source]
Path in a Cayley graph.
- __init__(start_state: Tensor, edges: list[int], graph: CayleyGraphDef) None
Methods
__init__
(start_state, edges, graph)Attributes
All states on the path.
Last state of the path.
First state of the path.
Edges, represented by generator IDs.
graph
- property all_states: list[Tensor]
All states on the path.
- edges: list[int]
Edges, represented by generator IDs.
- property end_state
Last state of the path.
- start_state: Tensor
First state of the path.