Coverage for moptipy / operators / signed_permutations / __init__.py: 100%

0 statements  

« prev     ^ index     » next       coverage.py v7.12.0, created at 2025-11-24 08:49 +0000

1""" 

2Search operators for signed permutations with repetitions. 

3 

4These operators can be used in conjunction with the space 

5:mod:`~moptipy.spaces.signed_permutations`. 

6 

7- Module :mod:`~moptipy.operators.signed_permutations.op0_shuffle_and_flip` 

8 provides a nullary operator sampling an entirely random signed permutation. 

9- Module :mod:`~moptipy.operators.signed_permutations.op1_swap_2_or_flip` 

10 provides a unary operator which either swaps exactly two different elements 

11 of a permutation *or* flips the sign of one element. 

12"""