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

Firing a rule only once #16

Open
cdemulde opened this issue Dec 5, 2019 · 1 comment
Open

Firing a rule only once #16

cdemulde opened this issue Dec 5, 2019 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@cdemulde
Copy link

cdemulde commented Dec 5, 2019

Hi,

I've been testing out Experta a little bit, and so far it really looks like what I need. This might be more a question than an actual issue, but I figured it might be something to look at if not already existing.

I noticed that some rules (for example when no TESTs are used) only fired once by default. Others, where I am using a TEST, do keep firing as long as the test is fulfilled. I was wondering if there is a way to limit the amount of times a rule is fired.

Thanks in advance for the help!

@nilp0inter
Copy link
Owner

In general this style of rule based expert systems fire each rule once per valid combination of matching facts. Rules with TEST should not work different.

Could you put a more specific example?

@nilp0inter nilp0inter added the question Further information is requested label Dec 17, 2019
@nilp0inter nilp0inter self-assigned this Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants