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

Validator: Check if a stream expression terminal produces a boolean, double or collection #44

Open
maxkratz opened this issue Sep 2, 2022 · 0 comments
Labels
bug Something isn't working validator Issue includes validator bugs
Projects

Comments

@maxkratz
Copy link
Member

maxkratz commented Sep 2, 2022

Validator: Check if a stream expression terminal produces a boolean, double or collection. In the latter case an error must be thrown!

Example:

patterns.networkRule->filter(m2 | m2.nodes().root != null & self.nodes().virtualLink != m2.nodes().root)

-> If this statement is the sole statement within a constraint or objective, the validator has to complain! This can not be translated to neither, an ILP constraint nor an ILP objective.

@maxkratz maxkratz created this issue from a note in GIPS (Bugs) Sep 2, 2022
@maxkratz maxkratz added the bug Something isn't working label Sep 7, 2022
@maxkratz maxkratz added the validator Issue includes validator bugs label Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working validator Issue includes validator bugs
Projects
GIPS
Bugs
Development

No branches or pull requests

1 participant