Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Spider set space, cardinality and its complement #52

Open
brunolnetto opened this issue Dec 28, 2022 · 0 comments
Open

Comments

@brunolnetto
Copy link
Contributor

brunolnetto commented Dec 28, 2022

Description

Statement : spider sets are possible disjoint union sets of exclusive sets on Euler sets
Example: Given sets A and B as well as non-empty intersection set AB, we call the spider-set space {S} as a list of lists:

[ [A], [B], [AB], [A, B], [A, AB], [AB, B], [A, B, AB] ]

Cardinality: A Venn-set with n sets may have 2^n-1 exclusive sets, but it is oftentimes much lower than it i.e. m << 2^n-1. Therefore, the spider-set space cardinality s is equal to the sum of sets cardinality from 1 to m i.e. 2^m-1.

Complement: Additionally, let us define a spider set-element S e.g. its complement R-set is such that R + S gives the non-empty universe Euler set E, with m-cardinality. It means, R-set is given by the difference E - S of Euler E-set by S-set.

Implementation: spider_sets(sets, k)

  1. Implement euler sets keys;
  2. Find a rationale to allow a brief spider description throughout its k <= m leg-landing sets. The cardinality of such subset of sets is k!/(m! (m-k)!). The greatest cardinality occurs for equality k=ceil(m/2)

References

Layman's: https://en.wikipedia.org/wiki/Spider_diagram
Academic: https://www.cs.kent.ac.uk/pubs/2006/2972/content.pdf

@brunolnetto brunolnetto changed the title [Feature request] Spider diagram space and its complement [Feature request] Spider set space and its complement Dec 28, 2022
@brunolnetto brunolnetto changed the title [Feature request] Spider set space and its complement [Feature request] Spider set space, cardinality and its complement Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant