Skip to main content

orbits

Function orbits 

Source
pub fn orbits(degree: usize, generators: &[Perm]) -> Vec<Vec<usize>>
Expand description

The orbits of {0,…,degree−1} under ⟨generators⟩, as a partition (each orbit sorted ascending, orbits ordered by least element). Needs only the generators — a BFS, independent of the BSGS.