clara

http://www.clara-rules.org/
Matthew Pettis 2020-02-10T00:18:37.014100Z

Documentation question: from this page (http://www.clara-rules.org/docs/rules/), in the defrule structure flow has an optional props token. I can't find anywhere in the documentation that talks about what that actually is. Can anyone point me to what that is?

2020-02-10T16:16:10.014300Z

The primary property used currently is salience, which allows users to control the order in which rules fire. Usually it shouldn’t be necessary, but sometimes is useful either for performance optimization or when rules opt out of truth maintenance (by using unconditional insertions and/or RHS retractions). The latter tends to make things more complicated in my experience, but sometimes can be useful/necessary

👍 1
Matthew Pettis 2020-02-10T16:41:24.014500Z

OK, thank you, this is nice to know.

2020-02-10T17:22:21.015200Z

They are undocumented to discourage use perhaps. Hah

2020-02-10T17:22:36.015800Z

I thought salience may be documented somewhere though. Would have to look

Matthew Pettis 2020-02-10T19:34:11.016Z

yep, salience is documented here: http://www.clara-rules.org/docs/conflictsalience/

🎉 1
Matthew Pettis 2020-02-10T19:35:11.016300Z

I just didn't connect what I read there with what I read in the documentation...

👍 1