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

Support true bemcell algebra #91

Open
qfox opened this issue Jan 24, 2017 · 1 comment
Open

Support true bemcell algebra #91

qfox opened this issue Jan 24, 2017 · 1 comment
Assignees

Comments

@qfox
Copy link
Contributor

qfox commented Jan 24, 2017

Cross tech decl algebra:

// U — merge
[{ entity: A }] U [{ entity: A, tech: '1' }] 
     [{ entity: A }, { entity: A, tech: '1' }] // Because any tech can be not '1' in result
[{ entity: A, tech: '1' }] U [{ entity: A, tech: '2' }] 
     [{ entity: A, tech: '1' }, { entity: A, tech: '2' }]

// / — subtract
[{ entity: A, tech: 'specified' }] / [{ entity: A }]  []
[{ entity: A, layer: 'specified' }] / [{ entity: A }]  []
[{ entity: A }] / [{ entity: A, tech: 'specified' }]  ERROR
[{ entity: A }] / [{ entity: A, layer: 'specified' }]  ERROR
[{ entity: A, tech: 'specified' }] / [{ entity: A, layer: 'specified' }]  ERROR
[{ entity: A, layer: 'specified' }] / [{ entity: A, tech: 'specified' }]  ERROR

// П — intersect
[{ entity: A }] П [{ entity: A, tech: 'specified' }]  [{ entity: A, tech: 'specified' }]
[{ entity: A, tech: '1' }] П [{ entity: A, tech: '2' }]  []
[{ entity: A, tech: '1' }] П [{ entity: A, layer: 'l' }]  [{ entity: A, tech: '1', layer: 'l' }]
@belozer belozer self-assigned this Feb 2, 2017
@belozer
Copy link

belozer commented Feb 7, 2017

subtract for [{ entity: A }] / [{ entity: A, tech: 'specified' }] → [{throw exception}]

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

2 participants