Skip to content

Multiset partitions #42

@Enchufa2

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?

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