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

not all contraint operators are logical operators #194

Closed
simonstey opened this issue Jun 16, 2017 · 3 comments
Closed

not all contraint operators are logical operators #194

simonstey opened this issue Jun 16, 2017 · 3 comments
Assignees

Comments

@simonstey
Copy link
Contributor

http://w3c.github.io/poe/model/#constraint:

Constraints can be represented as Atomic Constraints - in which the left and right operands are logically compared - or as Compound Constraints in which the left and right operands are existing Atomic Constraints, which are also logically compared.

that's wrong, you can't use logical operators in atomic constraints.

Relational operators [1]:

    < : less than
    <= : less than or equal to
    > : greater than
    >= : greater than or equal to
    == : equal to
    /= : not equal to

Logical operators [2]:

    .NOT. : logical not
    .AND. : logical and
    .OR. : logical or
    .EQV. : logical equivalence
    .NEQV. : logical not equivalence

[1] http://www.cs.mtu.edu/~shene/COURSES/cs201/NOTES/chap03/relational.html
[2] http://www.cs.mtu.edu/~shene/COURSES/cs201/NOTES/chap03/logical.html


Also

A Rule becomes effective if all of its Constraints are satisfied.

👍

If the logical expression evaluates to true the result of the Constraint is satisfied.

👎 (the constraint is satisfied, not its result)

@riannella riannella self-assigned this Jun 19, 2017
@riannella riannella added this to Under Current Discussion in ODRL Deliverables Review Jun 19, 2017
riannella added a commit that referenced this issue Jun 19, 2017
@riannella
Copy link
Contributor

Updated narrative (removed 'logical')

commit: 4fecef4

@riannella riannella moved this from Under Current Discussion to Proposed Solution in ODRL Deliverables Review Jun 19, 2017
@riannella
Copy link
Contributor

@simonstey are you ok with my comments I made on your commit comments?

@riannella
Copy link
Contributor

#199 will address this now

@riannella riannella moved this from Proposed Solution to Completed (Last Call) in ODRL Deliverables Review Jun 30, 2017
@riannella riannella removed this from Completed (Last Call) in ODRL Deliverables Review Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants