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

Evaluation of lt constraints fail for unbounded logic domains #2

Open
Gaudeval opened this issue Jul 27, 2021 · 0 comments
Open

Evaluation of lt constraints fail for unbounded logic domains #2

Gaudeval opened this issue Jul 27, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Gaudeval
Copy link
Owner

Any fuzzy lt constraints (and related ge, gt, le) fails to produce consistent values if the logic domain is unbounded, e.g. false = -inf or true = inf. The evaluation of the constraint, around the tolerance, results in a NaN value being returned which can be interpreted as either True or False during for non quantitative valuations.

Here is an example of evaluation code and logic configuration:
example unbounded fuzzy lt

@Gaudeval Gaudeval added the bug Something isn't working label Jul 27, 2021
@Gaudeval Gaudeval self-assigned this Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant