Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
In general we can assume that they are known and part of the input. But for the specific case (the action I described at the end of question) all that functions are defined and maybe there are some tricks that work in that specific case. Any help will be useful.
@YCor We can assume that there is a function that gets element of $g\in G$ and element of $s\in S$ and returns the result when $g$ acts on $s$. By better algorithm I mean algorithm that calls that function less.
One question. $\binom n2 2^{2^{n-1}}\cdot 3^{2^{n-2}}$ is number of orbits when a single two-cycle acts on the set of boolean functions, right? By Cauchy-Frobenius lemma we should add number of functions that a group element leaves unchanged. I am missing something?