-
Notifications
You must be signed in to change notification settings - Fork 34
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
Are constraints now supported in Problog? #110
Comments
These can be used for adding propositional constraints programmatically, but it is not a feature that should be used directly. Depending on what type of constraint you want, you could use evidence to encode it. |
Thank you for your response! Actually we wanted to encode constraints not on ground facts but as conditions that should not evaluate to true such as headless rules in ASP. We have now encoded them as Problog rules and throw an error when the rule evaluates to true. |
We have been experimenting with DeepProblog for the past few months and it's truly awesome work - the concept and mechanism of using rules to compute and feed back gradients into the neural net |
Hi. If your rules can be encoded as ProbLog rules you can try the following:
Does this help? |
Thanks very much for your response. This should help! Will try it out |
Saw the class Constraint defined in the Problog 2.2 documentation. Has support for this been added..
The text was updated successfully, but these errors were encountered: