Skip to content

Multiset partitions #42

Description

@Enchufa2

I reached this repo while looking for R packages for computing multiset partitions, but I may be misunderstanding the documentation. I tried with partitionsGeneral, but I don't understand the output.

To set a common ground, let me use an example. Let's take the multiset $M=\{1,1,2,3\}$. All the possible partitions would be:

  • $\{1,1,2,3\}$
  • $\{1\},\{1,2,3\}$
  • $\{2\},\{1,1,3\}$
  • $\{3\},\{1,1,2\}$
  • $\{1,1\},\{2,3\}$
  • $\{1,2\},\{1,3\}$
  • $\{1\},\{1\},\{2,3\}$
  • $\{1\},\{2\},\{1,3\}$
  • $\{1\},\{3\},\{1,2\}$
  • $\{2\},\{3\},\{1,1\}$
  • $\{1\},\{1\},\{2\},\{3\}$

Is it possible to get this with this package?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions