Ejemplo n.º 1
0
 public static StageDimer ToGenomeStageDimer(this IRando randy, uint order)
 {
     return(new StageDimer(
                stage1: randy.ToFullTwoCyclePermutation(order),
                stage2: randy.ToFullTwoCyclePermutation(order),
                modifier: randy.ToPermutation(order)
                ));
 }
Ejemplo n.º 2
0
 public static GenomeSorterConjOrbit ToGenomeConjOrbit(this IRando randy, uint order, uint stageCount)
 {
     return(new GenomeSorterConjOrbit(
                id: Guid.NewGuid(),
                twoCycle: randy.ToFullTwoCyclePermutation(order),
                conj: randy.ToPermutation(order),
                order: order,
                stageCount: stageCount));
 }