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

All states on the path.

end_state

Last state of the path.

start_state

First state of the path.

edges

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.