count_distinct_permutations
autogen.agentchat.contrib.captainagent.tools.math.count_distinct_permutations.count_distinct_permutations
count_distinct_permutations
Counts the number of distinct permutations of a sequence where items may be indistinguishable.
Parameters:Name | Description |
---|---|
sequence | The sequence for which to count the distinct permutations. |